train.sh 1014 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Train YOLO
  2. python train.py \
  3. --cuda \
  4. -d coco \
  5. --root /mnt/share/ssd2/dataset/ \
  6. -m yolo_free_v1_l \
  7. -bs 16 \
  8. -size 640 \
  9. --wp_epoch 3 \
  10. --max_epoch 300 \
  11. --eval_epoch 10 \
  12. --ema \
  13. --fp16 \
  14. --multi_scale \
  15. # --resume weights/coco/yolox_m/yolox_m_best.pth \
  16. # --pretrained weights/coco/yolo_free_medium/yolo_free_medium_39.46.pth \
  17. # --eval_first
  18. # # Train RT-DETR
  19. # python train.py \
  20. # --cuda \
  21. # -d voc \
  22. # --root /mnt/share/ssd2/dataset/ \
  23. # -m rtdetr_n \
  24. # -bs 16 \
  25. # -size 640 \
  26. # --wp_epoch 1 \
  27. # --max_epoch 150 \
  28. # --eval_epoch 10 \
  29. # --ema \
  30. # --fp16 \
  31. # --multi_scale \
  32. # --mosaic 0 \
  33. # --mixup 0
  34. # # --resume weights/coco/yolox_s/yolox_s_best.pth \
  35. # # --pretrained weights/coco/yolo_free_medium/yolo_free_medium_39.46.pth \
  36. # # --eval_first