Explorar o código

train YOLOX-L with 8xb8

yjh0410 %!s(int64=2) %!d(string=hai) anos
pai
achega
b9c31e453c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 \