yjh0410 hace 1 año
padre
commit
badd970689
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      yolo/train.sh

+ 1 - 1
yolo/train.sh

@@ -10,7 +10,7 @@ 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 \
             --dataset ${DATASET} \
             --root ${DATASET_ROOT} \