|
@@ -55,10 +55,6 @@ rtcdet_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -115,10 +111,6 @@ rtcdet_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -175,10 +167,6 @@ rtcdet_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -235,10 +223,6 @@ rtcdet_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -295,10 +279,6 @@ rtcdet_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -360,10 +340,6 @@ rtcdet_seg_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -424,10 +400,6 @@ rtcdet_pos_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|
|
@@ -488,10 +460,6 @@ rtcdet_seg_pos_cfg = {
|
|
|
'loss_cls_weight': 0.5,
|
|
'loss_cls_weight': 0.5,
|
|
|
'loss_box_weight': 7.5,
|
|
'loss_box_weight': 7.5,
|
|
|
'loss_dfl_weight': 1.5,
|
|
'loss_dfl_weight': 1.5,
|
|
|
- 'use_qfl': False,
|
|
|
|
|
- 'loss_cls_weight_qfl': 1.0,
|
|
|
|
|
- 'loss_box_weight_qfl': 2.0,
|
|
|
|
|
- 'loss_dfl_weight_qfl': 1.0,
|
|
|
|
|
# ---------------- Train config ----------------
|
|
# ---------------- Train config ----------------
|
|
|
'trainer_type': 'rtcdet',
|
|
'trainer_type': 'rtcdet',
|
|
|
},
|
|
},
|