train_ddp.sh 1.0 KB

1234567891011121314151617
  1. # train YOLO with 8 GPUs
  2. # 使用4张GPU来训练YOLO
  3. python -m torch.distributed.run --nproc_per_node=8 train.py \
  4. --cuda \
  5. -dist \
  6. -d coco \
  7. --root /data/datasets/ \
  8. -m yolox_l \
  9. -bs 128 \
  10. -size 640 \
  11. --wp_epoch 3 \
  12. --max_epoch 300 \
  13. --eval_epoch 10 \
  14. --ema \
  15. --fp16 \
  16. --sybn \
  17. --multi_scale \