Skip to content

Commit

Permalink
[Fix] Fix KeyError: 'ori_filename' when using --show-dir with centern…
Browse files Browse the repository at this point in the history
…et_resnet18_dcnv2_140e_coco.py (open-mmlab#7865)
  • Loading branch information
jbwang1997 authored and ZwwWayne committed Jul 19, 2022
1 parent 68c8994 commit 653ec76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configs/centernet/centernet_resnet18_dcnv2_140e_coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
dict(type='DefaultFormatBundle'),
dict(
type='Collect',
meta_keys=('filename', 'ori_shape', 'img_shape', 'pad_shape',
'scale_factor', 'flip', 'flip_direction',
'img_norm_cfg', 'border'),
meta_keys=('filename', 'ori_filename', 'ori_shape',
'img_shape', 'pad_shape', 'scale_factor', 'flip',
'flip_direction', 'img_norm_cfg', 'border'),
keys=['img'])
])
]
Expand Down

0 comments on commit 653ec76

Please sign in to comment.