train_single_gpu.sh 520 B

12345678910111213141516171819
  1. # Train YOLO
  2. python train.py \
  3. --cuda \
  4. -d coco \
  5. --root /mnt/share/ssd2/dataset/ \
  6. -m yolox_l \
  7. -bs 16 \
  8. -size 640 \
  9. --wp_epoch 3 \
  10. --max_epoch 300 \
  11. --eval_epoch 10 \
  12. --no_aug_epoch 20 \
  13. --grad_accumulate 4 \
  14. --ema \
  15. --fp16 \
  16. --multi_scale \
  17. # --resume weights/coco/yolox_m/yolox_m_best.pth \
  18. # --pretrained weights/coco/yolo_free_medium/yolo_free_medium_39.46.pth \
  19. # --eval_first