Skip to content

Commit e283bae

Browse files
authored
[Fix] Fix KeyError: 'ori_filename' when using --show-dir with centernet_resnet18_dcnv2_140e_coco.py (#7865)
1 parent 41ba2f4 commit e283bae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configs/centernet/centernet_resnet18_dcnv2_140e_coco.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
dict(type='DefaultFormatBundle'),
7979
dict(
8080
type='Collect',
81-
meta_keys=('filename', 'ori_shape', 'img_shape', 'pad_shape',
82-
'scale_factor', 'flip', 'flip_direction',
83-
'img_norm_cfg', 'border'),
81+
meta_keys=('filename', 'ori_filename', 'ori_shape',
82+
'img_shape', 'pad_shape', 'scale_factor', 'flip',
83+
'flip_direction', 'img_norm_cfg', 'border'),
8484
keys=['img'])
8585
])
8686
]

0 commit comments

Comments
 (0)