yjh0410 1 year ago
parent
commit
60ab9844e1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      yolo/train.sh

+ 1 - 2
yolo/train.sh

@@ -10,9 +10,8 @@ RESUME=$7
 
 
 # -------------------------- Train Pipeline --------------------------
 # -------------------------- Train Pipeline --------------------------
 if [[ $WORLD_SIZE == 1 ]]; then
 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 \
             --cuda \
-            --distributed \
             --dataset ${DATASET} \
             --dataset ${DATASET} \
             --root ${DATASET_ROOT} \
             --root ${DATASET_ROOT} \
             --model ${MODEL} \
             --model ${MODEL} \