mmdeploy/configs/mmocr/text-detection/text-detection_dynamic.py

15 lines
292 B
Python

_base_ = ['./text-detection_static.py']
onnx_config = dict(
dynamic_axes={
'input': {
0: 'batch',
2: 'height',
3: 'width'
},
'output': {
0: 'batch',
2: 'height',
3: 'width'
}
}, )