mirror of
https://github.com/open-mmlab/mmyolo.git
synced 2025-06-03 15:00:20 +08:00
* Support YOLOv5 YOLOv6 YOLOX Deploy in mmdeploy * Fix lint * Rename _class to detector_type * Add some common * fix lint Co-authored-by: huanghaian <huanghaian@sensetime.com>
15 lines
535 B
Python
15 lines
535 B
Python
_base_ = ['./base_static.py']
|
|
onnx_config = dict(input_shape=(640, 640))
|
|
backend_config = dict(
|
|
type='tensorrt',
|
|
common_config=dict(fp16_mode=True, max_workspace_size=1 << 30),
|
|
model_inputs=[
|
|
dict(
|
|
input_shapes=dict(
|
|
input=dict(
|
|
min_shape=[1, 3, 640, 640],
|
|
opt_shape=[1, 3, 640, 640],
|
|
max_shape=[1, 3, 640, 640])))
|
|
])
|
|
use_efficientnms = False # whether to replace TRTBatchedNMS plugin with EfficientNMS plugin # noqa E501
|