|
@@ -1,5 +1,4 @@
|
|
|
-# train YOLO with 4 GPUs
|
|
|
|
|
-# 使用 4 GPU来训练YOLO
|
|
|
|
|
|
|
+# -------------------------- Train YOLOX series --------------------------
|
|
|
python -m torch.distributed.run --nproc_per_node=8 train.py \
|
|
python -m torch.distributed.run --nproc_per_node=8 train.py \
|
|
|
--cuda \
|
|
--cuda \
|
|
|
-dist \
|
|
-dist \
|
|
@@ -17,3 +16,22 @@ python -m torch.distributed.run --nproc_per_node=8 train.py \
|
|
|
--sybn \
|
|
--sybn \
|
|
|
--multi_scale \
|
|
--multi_scale \
|
|
|
# --resume weights/coco/yolox_l/yolox_l_best.pth \
|
|
# --resume weights/coco/yolox_l/yolox_l_best.pth \
|
|
|
|
|
+
|
|
|
|
|
+# -------------------------- Train YOLOv1~v5 & v7 series --------------------------
|
|
|
|
|
+# python -m torch.distributed.run --nproc_per_node=8 train.py \
|
|
|
|
|
+# --cuda \
|
|
|
|
|
+# -dist \
|
|
|
|
|
+# -d coco \
|
|
|
|
|
+# --root /data/datasets/ \
|
|
|
|
|
+# -m yolov5_l\
|
|
|
|
|
+# -bs 128 \
|
|
|
|
|
+# -size 640 \
|
|
|
|
|
+# --wp_epoch 3 \
|
|
|
|
|
+# --max_epoch 300 \
|
|
|
|
|
+# --eval_epoch 10 \
|
|
|
|
|
+# --no_aug_epoch 10 \
|
|
|
|
|
+# --ema \
|
|
|
|
|
+# --fp16 \
|
|
|
|
|
+# --sybn \
|
|
|
|
|
+# --multi_scale \
|
|
|
|
|
+# # --resume weights/coco/yolov5_l/yolov5_l_best.pth \
|