yjh0410 преди 2 години
родител
ревизия
b0a0af667a
променени са 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 \