birth
This commit is contained in:
2
segmentation/deploy/configs/_base_/backends/tensorrt.py
Normal file
2
segmentation/deploy/configs/_base_/backends/tensorrt.py
Normal file
@@ -0,0 +1,2 @@
|
||||
backend_config = dict(
|
||||
type='tensorrt', common_config=dict(fp16_mode=False, max_workspace_size=0))
|
||||
10
segmentation/deploy/configs/_base_/onnx_config.py
Normal file
10
segmentation/deploy/configs/_base_/onnx_config.py
Normal file
@@ -0,0 +1,10 @@
|
||||
onnx_config = dict(
|
||||
type='onnx',
|
||||
export_params=True,
|
||||
keep_initializers_as_inputs=False,
|
||||
opset_version=11,
|
||||
save_file='end2end.onnx',
|
||||
input_names=['input'],
|
||||
output_names=['output'],
|
||||
input_shape=None,
|
||||
optimize=True)
|
||||
Reference in New Issue
Block a user