14 lines
406 B
Python
14 lines
406 B
Python
|
_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, 1, 32, 32],
|
||
|
opt_shape=[1, 1, 32, 64],
|
||
|
max_shape=[1, 1, 32, 640])))
|
||
|
])
|