yjh0410 2 лет назад
Родитель
Сommit
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 \