yjh0410 1 ano atrás
pai
commit
14dbaddfe7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      train.sh

+ 1 - 1
train.sh

@@ -85,7 +85,7 @@ if [ $WORLD_SIZE == 1 ]; then
             --fp16 \
             --multi_scale
 elif [[ $WORLD_SIZE -gt 1 && $WORLD_SIZE -le 8 ]]; then
-    python -m torch.distributed.run --nproc_per_node=${WORLD_SIZE} train.py \
+    python -m torch.distributed.run --nproc_per_node=${WORLD_SIZE} --master_port 1669 train.py \
             --cuda \
             -dist \
             --dataset ${DATASET} \