yjh0410 пре 2 година
родитељ
комит
b9c31e453c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      train_ddp.sh

+ 1 - 1
train_ddp.sh

@@ -1,6 +1,6 @@
 # train YOLO with 4 GPUs
 # 使用 4 GPU来训练YOLO
-python -m torch.distributed.run --nproc_per_node=4 train.py \
+python -m torch.distributed.run --nproc_per_node=8 train.py \
                                                     --cuda \
                                                     -dist \
                                                     -d coco \