|
_base_ = '../../yolov5/yolov5_s-v61_syncbn_8xb16-300e_coco.py' |
|
|
|
test_pipeline = [ |
|
dict(type='LoadImageFromFile', backend_args=_base_.backend_args), |
|
dict( |
|
type='LetterResize', |
|
scale=_base_.img_scale, |
|
allow_scale_up=False, |
|
use_mini_pad=False, |
|
), |
|
dict(type='LoadAnnotations', with_bbox=True, _scope_='mmdet'), |
|
dict( |
|
type='mmdet.PackDetInputs', |
|
meta_keys=('img_id', 'img_path', 'ori_shape', 'img_shape', |
|
'scale_factor', 'pad_param')) |
|
] |
|
|
|
test_dataloader = dict( |
|
dataset=dict(pipeline=test_pipeline, batch_shapes_cfg=None)) |
|
|