Skip to content

Commit

Permalink
Fix bug of training V6-RepOpt: no attribute 'atss_warmup_epoch'
Browse files Browse the repository at this point in the history
  • Loading branch information
yili123123 authored and Chilicyy committed Jan 12, 2023
1 parent 7dba38e commit 7fa9ba9
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions configs/repopt/yolov6_tiny_hs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='siou',
use_dfl=False,
reg_max=0 #if use_dfl is False, please set reg_max to 0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6_tiny_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='siou',
use_dfl=False,
reg_max=0 #if use_dfl is False, please set reg_max to 0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6_tiny_opt_qat.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='siou',
use_dfl=False,
reg_max=0, #if use_dfl is False, please set reg_max to 0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6n_hs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='siou',
use_dfl=False,
reg_max=0 #if use_dfl is False, please set reg_max to 0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6n_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='siou',
use_dfl=False,
reg_max=0 #if use_dfl is False, please set reg_max to 0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6n_opt_qat.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='siou',
use_dfl=False,
reg_max=0, #if use_dfl is False, please set reg_max to 0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6s_hs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='giou',
use_dfl=False,
reg_max=0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6s_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type='giou',
use_dfl=False,
reg_max=0
Expand Down
1 change: 1 addition & 0 deletions configs/repopt/yolov6s_opt_qat.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
anchors=1,
out_indices=[17, 20, 23],
strides=[8, 16, 32],
atss_warmup_epoch=0,
iou_type = 'giou',
use_dfl = False,
reg_max = 0, # if use_dfl is False, please set reg_max to 0
Expand Down
2 changes: 1 addition & 1 deletion configs/yolov6n.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# YOLOv6s model
# YOLOv6n model
model = dict(
type='YOLOv6n',
pretrained=None,
Expand Down

0 comments on commit 7fa9ba9

Please sign in to comment.