Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdeploy
Commits
68661967
Commit
68661967
authored
Jun 25, 2025
by
limm
Browse files
add config module
parent
4353fa59
Pipeline
#2808
canceled with stages
Changes
341
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
107 additions
and
0 deletions
+107
-0
configs/mmseg/segmentation_coreml_static-512x1024.py
configs/mmseg/segmentation_coreml_static-512x1024.py
+14
-0
configs/mmseg/segmentation_dynamic.py
configs/mmseg/segmentation_dynamic.py
+14
-0
configs/mmseg/segmentation_ncnn_static-1024x2048.py
configs/mmseg/segmentation_ncnn_static-1024x2048.py
+3
-0
configs/mmseg/segmentation_ncnn_static-512x512.py
configs/mmseg/segmentation_ncnn_static-512x512.py
+3
-0
configs/mmseg/segmentation_onnxruntime-fp16_dynamic.py
configs/mmseg/segmentation_onnxruntime-fp16_dynamic.py
+3
-0
configs/mmseg/segmentation_onnxruntime_dynamic.py
configs/mmseg/segmentation_onnxruntime_dynamic.py
+1
-0
configs/mmseg/segmentation_onnxruntime_static-1024x2048.py
configs/mmseg/segmentation_onnxruntime_static-1024x2048.py
+3
-0
configs/mmseg/segmentation_onnxruntime_static-512x512.py
configs/mmseg/segmentation_onnxruntime_static-512x512.py
+3
-0
configs/mmseg/segmentation_openvino_dynamic-1024x2048.py
configs/mmseg/segmentation_openvino_dynamic-1024x2048.py
+4
-0
configs/mmseg/segmentation_openvino_static-1024x2048.py
configs/mmseg/segmentation_openvino_static-1024x2048.py
+4
-0
configs/mmseg/segmentation_openvino_static-512x512.py
configs/mmseg/segmentation_openvino_static-512x512.py
+4
-0
configs/mmseg/segmentation_pplnn_dynamic-1024x2048.py
configs/mmseg/segmentation_pplnn_dynamic-1024x2048.py
+5
-0
configs/mmseg/segmentation_pplnn_dynamic-512x1024.py
configs/mmseg/segmentation_pplnn_dynamic-512x1024.py
+5
-0
configs/mmseg/segmentation_pplnn_static-1024x2048.py
configs/mmseg/segmentation_pplnn_static-1024x2048.py
+5
-0
configs/mmseg/segmentation_pplnn_static-512x1024.py
configs/mmseg/segmentation_pplnn_static-512x1024.py
+5
-0
configs/mmseg/segmentation_rknn-fp16_static-320x320.py
configs/mmseg/segmentation_rknn-fp16_static-320x320.py
+9
-0
configs/mmseg/segmentation_rknn-int8_static-320x320.py
configs/mmseg/segmentation_rknn-int8_static-320x320.py
+7
-0
configs/mmseg/segmentation_sdk_dynamic.py
configs/mmseg/segmentation_sdk_dynamic.py
+10
-0
configs/mmseg/segmentation_snpe_static-512x1024.py
configs/mmseg/segmentation_snpe_static-512x1024.py
+3
-0
configs/mmseg/segmentation_static.py
configs/mmseg/segmentation_static.py
+2
-0
No files found.
configs/mmseg/segmentation_coreml_static-512x1024.py
0 → 100644
View file @
68661967
_base_
=
[
'../_base_/torchscript_config.py'
,
'../_base_/backends/coreml.py'
,
'./segmentation_static.py'
]
ir_config
=
dict
(
input_shape
=
[
1024
,
512
])
backend_config
=
dict
(
model_inputs
=
[
dict
(
input_shapes
=
dict
(
input
=
dict
(
min_shape
=
[
1
,
3
,
512
,
1024
],
max_shape
=
[
1
,
3
,
512
,
1024
],
default_shape
=
[
1
,
3
,
512
,
1024
])))
])
configs/mmseg/segmentation_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
]
onnx_config
=
dict
(
dynamic_axes
=
{
'input'
:
{
0
:
'batch'
,
2
:
'height'
,
3
:
'width'
},
'output'
:
{
0
:
'batch'
,
2
:
'height'
,
3
:
'width'
},
},
)
configs/mmseg/segmentation_ncnn_static-1024x2048.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/ncnn.py'
]
onnx_config
=
dict
(
input_shape
=
[
2048
,
1024
])
configs/mmseg/segmentation_ncnn_static-512x512.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/ncnn.py'
]
onnx_config
=
dict
(
input_shape
=
[
512
,
512
])
configs/mmseg/segmentation_onnxruntime-fp16_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_dynamic.py'
,
'../_base_/backends/onnxruntime-fp16.py'
]
configs/mmseg/segmentation_onnxruntime_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_dynamic.py'
,
'../_base_/backends/onnxruntime.py'
]
configs/mmseg/segmentation_onnxruntime_static-1024x2048.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/onnxruntime.py'
]
onnx_config
=
dict
(
input_shape
=
[
2048
,
1024
])
configs/mmseg/segmentation_onnxruntime_static-512x512.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/onnxruntime.py'
]
onnx_config
=
dict
(
input_shape
=
[
512
,
512
])
configs/mmseg/segmentation_openvino_dynamic-1024x2048.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_dynamic.py'
,
'../_base_/backends/openvino.py'
]
backend_config
=
dict
(
model_inputs
=
[
dict
(
opt_shapes
=
dict
(
input
=
[
1
,
3
,
1024
,
2048
]))])
configs/mmseg/segmentation_openvino_static-1024x2048.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/openvino.py'
]
onnx_config
=
dict
(
input_shape
=
[
2048
,
1024
])
backend_config
=
dict
(
model_inputs
=
[
dict
(
opt_shapes
=
dict
(
input
=
[
1
,
3
,
1024
,
2048
]))])
configs/mmseg/segmentation_openvino_static-512x512.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/openvino.py'
]
onnx_config
=
dict
(
input_shape
=
[
512
,
512
])
backend_config
=
dict
(
model_inputs
=
[
dict
(
opt_shapes
=
dict
(
input
=
[
1
,
3
,
512
,
512
]))])
configs/mmseg/segmentation_pplnn_dynamic-1024x2048.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_dynamic.py'
,
'../_base_/backends/pplnn.py'
]
onnx_config
=
dict
(
input_shape
=
[
2048
,
1024
])
backend_config
=
dict
(
model_inputs
=
dict
(
opt_shape
=
[
1
,
3
,
1024
,
2048
]))
configs/mmseg/segmentation_pplnn_dynamic-512x1024.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_dynamic.py'
,
'../_base_/backends/pplnn.py'
]
onnx_config
=
dict
(
input_shape
=
None
)
backend_config
=
dict
(
model_inputs
=
dict
(
opt_shape
=
[
1
,
3
,
512
,
1024
]))
configs/mmseg/segmentation_pplnn_static-1024x2048.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/pplnn.py'
]
onnx_config
=
dict
(
input_shape
=
[
2048
,
1024
])
backend_config
=
dict
(
model_inputs
=
dict
(
opt_shape
=
[
1
,
3
,
1024
,
2048
]))
configs/mmseg/segmentation_pplnn_static-512x1024.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/pplnn.py'
]
onnx_config
=
dict
(
input_shape
=
[
1024
,
512
])
backend_config
=
dict
(
model_inputs
=
dict
(
opt_shape
=
[
1
,
3
,
512
,
1024
]))
configs/mmseg/segmentation_rknn-fp16_static-320x320.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/rknn.py'
]
onnx_config
=
dict
(
input_shape
=
[
320
,
320
])
codebase_config
=
dict
(
with_argmax
=
False
)
backend_config
=
dict
(
input_size_list
=
[[
3
,
320
,
320
]],
quantization_config
=
dict
(
do_quantization
=
False
))
configs/mmseg/segmentation_rknn-int8_static-320x320.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/rknn.py'
]
onnx_config
=
dict
(
input_shape
=
[
320
,
320
])
codebase_config
=
dict
(
with_argmax
=
False
)
backend_config
=
dict
(
input_size_list
=
[[
3
,
320
,
320
]])
configs/mmseg/segmentation_sdk_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_dynamic.py'
,
'../_base_/backends/sdk.py'
]
codebase_config
=
dict
(
model_type
=
'sdk'
)
backend_config
=
dict
(
pipeline
=
[
dict
(
type
=
'LoadImageFromFile'
),
dict
(
type
=
'LoadAnnotations'
),
dict
(
type
=
'PackSegInputs'
,
meta_keys
=
[
'img_path'
,
'ori_shape'
,
'img_shape'
])
])
configs/mmseg/segmentation_snpe_static-512x1024.py
0 → 100644
View file @
68661967
_base_
=
[
'./segmentation_static.py'
,
'../_base_/backends/snpe.py'
]
onnx_config
=
dict
(
input_shape
=
[
1024
,
512
])
configs/mmseg/segmentation_static.py
0 → 100644
View file @
68661967
_base_
=
[
'../_base_/onnx_config.py'
]
codebase_config
=
dict
(
type
=
'mmseg'
,
task
=
'Segmentation'
,
with_argmax
=
True
)
Prev
1
…
12
13
14
15
16
17
18
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment