yjh0410 1 yıl önce
ebeveyn
işleme
60ab9844e1
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  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} \