14 lines
449 B
Python
14 lines
449 B
Python
|
_base_ = ['./segmentation_static.py', '../_base_/backends/tensorrt-int8.py']
|
||
|
|
||
|
onnx_config = dict(input_shape=[2048, 1024])
|
||
|
backend_config = dict(
|
||
|
common_config=dict(max_workspace_size=1 << 30),
|
||
|
model_inputs=[
|
||
|
dict(
|
||
|
input_shapes=dict(
|
||
|
input=dict(
|
||
|
min_shape=[1, 3, 1024, 2048],
|
||
|
opt_shape=[1, 3, 1024, 2048],
|
||
|
max_shape=[1, 3, 1024, 2048])))
|
||
|
])
|