1
0
mirror of https://github.com/open-mmlab/mmdeploy.git synced 2025-01-14 08:09:43 +08:00
mmdeploy/configs/mmdet/detection/detection_sdk_dynamic.py
AllentDan 1d46bd752c
[2.0] Support SDK for det and cls ()
* init

* support SDK mmcls test

* align resize

* typo

* fix cls data_preprocessor
2022-09-21 14:17:23 +08:00

12 lines
344 B
Python

_base_ = ['../_base_/base_dynamic.py', '../../_base_/backends/sdk.py']
codebase_config = dict(model_type='sdk')
backend_config = dict(pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(
type='PackDetInputs',
meta_keys=('img_id', 'img_path', 'ori_shape', 'img_shape'))
])