浏览代码

train RTCDet-M with 64 bs

yjh0410 2 年之前
父节点
当前提交
43a05dfb19
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      config/model_config/rtcdet_config.py
  2. 2 2
      train_multi_gpus.sh

+ 2 - 2
config/model_config/rtcdet_config.py

@@ -265,7 +265,7 @@ rtcdet_cfg = {
         'head_depthwise': False,
         # ---------------- Train config ----------------
         ## Input
-        'multi_scale': [0.5, 1.25], # 320 -> 960
+        'multi_scale': [0.5, 1.5], # 320 -> 960
         'trans_type': 'yolox_medium',
         # ---------------- Assignment config ----------------
         ## Matcher
@@ -321,7 +321,7 @@ rtcdet_cfg = {
         'head_depthwise': False,
         # ---------------- Train config ----------------
         ## Input
-        'multi_scale': [0.5, 1.25], # 320 -> 800
+        'multi_scale': [0.5, 1.5], # 320 -> 960
         'trans_type': 'yolox_large',
         # ---------------- Assignment config ----------------
         ## Matcher

+ 2 - 2
train_multi_gpus.sh

@@ -4,8 +4,8 @@ python -m torch.distributed.run --nproc_per_node=8 train.py \
                                                     -dist \
                                                     -d coco \
                                                     --root /data/datasets/ \
-                                                    -m rtcdet_l \
-                                                    -bs 96 \
+                                                    -m rtcdet_m \
+                                                    -bs 64 \
                                                     -size 640 \
                                                     --wp_epoch 3 \
                                                     --max_epoch 300 \