yjh0410 il y a 1 an
Parent
commit
60ab9844e1
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      yolo/train.sh

+ 1 - 2
yolo/train.sh

@@ -10,9 +10,8 @@ RESUME=$7
 
 # -------------------------- Train Pipeline --------------------------
 if [[ $WORLD_SIZE == 1 ]]; then
-    python -m torch.distributed.run --nproc_per_node=${WORLD_SIZE} --master_port ${MASTER_PORT} train.py \
+    python train.py \
             --cuda \
-            --distributed \
             --dataset ${DATASET} \
             --root ${DATASET_ROOT} \
             --model ${MODEL} \