text-recognition_tensorrt-int8_dynamic-48x64-48x640.py 447 Bytes
Newer Older
limm's avatar
limm committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 3 channel and 48 height for SAR models
_base_ = [
    './text-recognition_dynamic.py', '../../_base_/backends/tensorrt-int8.py'
]
backend_config = dict(
    common_config=dict(max_workspace_size=1 << 30),
    model_inputs=[
        dict(
            input_shapes=dict(
                input=dict(
                    min_shape=[1, 3, 48, 64],
                    opt_shape=[1, 3, 48, 64],
                    max_shape=[1, 3, 48, 640])))
    ])