Skip to content

Commit

Permalink
Fix RTMDet miss LoadAnnotations bug in test_pipeline (open-mmlab#10348
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hhaAndroid authored May 17, 2023
1 parent 20d8d03 commit fe6f3c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/rtmdet/rtmdet_l_8xb32-300e_coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
dict(type='LoadImageFromFile', backend_args={{_base_.backend_args}}),
dict(type='Resize', scale=(640, 640), keep_ratio=True),
dict(type='Pad', size=(640, 640), pad_val=dict(img=(114, 114, 114))),
dict(type='LoadAnnotations', with_bbox=True),
dict(
type='PackDetInputs',
meta_keys=('img_id', 'img_path', 'ori_shape', 'img_shape',
Expand Down
1 change: 1 addition & 0 deletions configs/rtmdet/rtmdet_tta.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
size=(960, 960),
pad_val=dict(img=(114, 114, 114))),
],
[dict(type='LoadAnnotations', with_bbox=True)],
[
dict(
type='PackDetInputs',
Expand Down

0 comments on commit fe6f3c6

Please sign in to comment.