yjh0410 1 년 전
부모
커밋
60ab9844e1
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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} \