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
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
144 additions
and
0 deletions
+144
-0
configs/mmaction/video-recognition/video-recognition_3d_tensorrt_static-256x256.py
...cognition/video-recognition_3d_tensorrt_static-256x256.py
+14
-0
configs/mmaction/video-recognition/video-recognition_onnxruntime-fp16_static.py
...-recognition/video-recognition_onnxruntime-fp16_static.py
+6
-0
configs/mmaction/video-recognition/video-recognition_onnxruntime_static.py
...video-recognition/video-recognition_onnxruntime_static.py
+5
-0
configs/mmaction/video-recognition/video-recognition_static.py
...gs/mmaction/video-recognition/video-recognition_static.py
+3
-0
configs/mmaction/video-recognition/video-recognition_torchscript.py
...action/video-recognition/video-recognition_torchscript.py
+7
-0
configs/mmagic/super-resolution/super-resolution_dynamic.py
configs/mmagic/super-resolution/super-resolution_dynamic.py
+15
-0
configs/mmagic/super-resolution/super-resolution_ncnn_dynamic.py
.../mmagic/super-resolution/super-resolution_ncnn_dynamic.py
+1
-0
configs/mmagic/super-resolution/super-resolution_onnxruntime-fp16_dynamic.py
...r-resolution/super-resolution_onnxruntime-fp16_dynamic.py
+4
-0
configs/mmagic/super-resolution/super-resolution_onnxruntime_dynamic.py
.../super-resolution/super-resolution_onnxruntime_dynamic.py
+3
-0
configs/mmagic/super-resolution/super-resolution_onnxruntime_static.py
...c/super-resolution/super-resolution_onnxruntime_static.py
+5
-0
configs/mmagic/super-resolution/super-resolution_openvino_dynamic-256x256.py
...r-resolution/super-resolution_openvino_dynamic-256x256.py
+4
-0
configs/mmagic/super-resolution/super-resolution_pplnn_dynamic-32x32.py
.../super-resolution/super-resolution_pplnn_dynamic-32x32.py
+5
-0
configs/mmagic/super-resolution/super-resolution_sdk_dynamic.py
...s/mmagic/super-resolution/super-resolution_sdk_dynamic.py
+3
-0
configs/mmagic/super-resolution/super-resolution_snpe_static-256x256.py
.../super-resolution/super-resolution_snpe_static-256x256.py
+2
-0
configs/mmagic/super-resolution/super-resolution_static.py
configs/mmagic/super-resolution/super-resolution_static.py
+2
-0
configs/mmagic/super-resolution/super-resolution_tensorrt-fp16_dynamic-32x32-512x512.py
...n/super-resolution_tensorrt-fp16_dynamic-32x32-512x512.py
+13
-0
configs/mmagic/super-resolution/super-resolution_tensorrt-fp16_static-256x256.py
...solution/super-resolution_tensorrt-fp16_static-256x256.py
+14
-0
configs/mmagic/super-resolution/super-resolution_tensorrt-int8_dynamic-32x32-512x512.py
...n/super-resolution_tensorrt-int8_dynamic-32x32-512x512.py
+13
-0
configs/mmagic/super-resolution/super-resolution_tensorrt-int8_static-256x256.py
...solution/super-resolution_tensorrt-int8_static-256x256.py
+14
-0
configs/mmagic/super-resolution/super-resolution_tensorrt_dynamic-32x32-512x512.py
...lution/super-resolution_tensorrt_dynamic-32x32-512x512.py
+11
-0
No files found.
configs/mmaction/video-recognition/video-recognition_3d_tensorrt_static-256x256.py
0 → 100644
View file @
68661967
_base_
=
[
'./video-recognition_static.py'
,
'../../_base_/backends/tensorrt.py'
]
onnx_config
=
dict
(
input_shape
=
[
256
,
256
])
backend_config
=
dict
(
common_config
=
dict
(
max_workspace_size
=
1
<<
30
),
model_inputs
=
[
dict
(
input_shapes
=
dict
(
input
=
dict
(
min_shape
=
[
1
,
30
,
3
,
32
,
256
,
256
],
opt_shape
=
[
1
,
30
,
3
,
32
,
256
,
256
],
max_shape
=
[
1
,
30
,
3
,
32
,
256
,
256
])))
])
configs/mmaction/video-recognition/video-recognition_onnxruntime-fp16_static.py
0 → 100644
View file @
68661967
_base_
=
[
'./video-recognition_static.py'
,
'../../_base_/backends/onnxruntime-fp16.py'
]
onnx_config
=
dict
(
input_shape
=
None
)
configs/mmaction/video-recognition/video-recognition_onnxruntime_static.py
0 → 100644
View file @
68661967
_base_
=
[
'./video-recognition_static.py'
,
'../../_base_/backends/onnxruntime.py'
]
onnx_config
=
dict
(
input_shape
=
None
)
configs/mmaction/video-recognition/video-recognition_static.py
0 → 100644
View file @
68661967
_base_
=
[
'../../_base_/onnx_config.py'
]
codebase_config
=
dict
(
type
=
'mmaction'
,
task
=
'VideoRecognition'
)
configs/mmaction/video-recognition/video-recognition_torchscript.py
0 → 100644
View file @
68661967
_base_
=
[
'../../_base_/torchscript_config.py'
,
'../../_base_/backends/torchscript.py'
]
ir_config
=
dict
(
input_shape
=
None
)
codebase_config
=
dict
(
type
=
'mmaction'
,
task
=
'VideoRecognition'
)
configs/mmagic/super-resolution/super-resolution_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_static.py'
]
onnx_config
=
dict
(
dynamic_axes
=
{
'input'
:
{
0
:
'batch'
,
2
:
'height'
,
3
:
'width'
},
'output'
:
{
0
:
'batch'
,
2
:
'height'
,
3
:
'width'
}
},
input_shape
=
None
)
configs/mmagic/super-resolution/super-resolution_ncnn_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/ncnn.py'
]
configs/mmagic/super-resolution/super-resolution_onnxruntime-fp16_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/onnxruntime-fp16.py'
]
configs/mmagic/super-resolution/super-resolution_onnxruntime_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/onnxruntime.py'
]
configs/mmagic/super-resolution/super-resolution_onnxruntime_static.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_static.py'
,
'../../_base_/backends/onnxruntime.py'
]
onnx_config
=
dict
(
input_shape
=
None
)
configs/mmagic/super-resolution/super-resolution_openvino_dynamic-256x256.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/openvino.py'
]
backend_config
=
dict
(
model_inputs
=
[
dict
(
opt_shapes
=
dict
(
input
=
[
1
,
3
,
256
,
256
]))])
configs/mmagic/super-resolution/super-resolution_pplnn_dynamic-32x32.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/pplnn.py'
]
onnx_config
=
dict
(
input_shape
=
None
)
backend_config
=
dict
(
model_inputs
=
dict
(
opt_shape
=
[
1
,
3
,
32
,
32
]))
configs/mmagic/super-resolution/super-resolution_sdk_dynamic.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/sdk.py'
]
codebase_config
=
dict
(
model_type
=
'sdk'
)
configs/mmagic/super-resolution/super-resolution_snpe_static-256x256.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_static.py'
,
'../../_base_/backends/snpe.py'
]
onnx_config
=
dict
(
input_shape
=
[
256
,
256
])
configs/mmagic/super-resolution/super-resolution_static.py
0 → 100644
View file @
68661967
_base_
=
[
'../../_base_/onnx_config.py'
]
codebase_config
=
dict
(
type
=
'mmagic'
,
task
=
'SuperResolution'
)
configs/mmagic/super-resolution/super-resolution_tensorrt-fp16_dynamic-32x32-512x512.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/tensorrt-fp16.py'
]
backend_config
=
dict
(
common_config
=
dict
(
max_workspace_size
=
1
<<
30
),
model_inputs
=
[
dict
(
input_shapes
=
dict
(
input
=
dict
(
min_shape
=
[
1
,
3
,
32
,
32
],
opt_shape
=
[
1
,
3
,
256
,
256
],
max_shape
=
[
1
,
3
,
512
,
512
])))
])
configs/mmagic/super-resolution/super-resolution_tensorrt-fp16_static-256x256.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_static.py'
,
'../../_base_/backends/tensorrt-fp16.py'
]
onnx_config
=
dict
(
input_shape
=
[
256
,
256
])
backend_config
=
dict
(
common_config
=
dict
(
max_workspace_size
=
1
<<
30
),
model_inputs
=
[
dict
(
input_shapes
=
dict
(
input
=
dict
(
min_shape
=
[
1
,
3
,
256
,
256
],
opt_shape
=
[
1
,
3
,
256
,
256
],
max_shape
=
[
1
,
3
,
256
,
256
])))
])
configs/mmagic/super-resolution/super-resolution_tensorrt-int8_dynamic-32x32-512x512.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_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
,
32
,
32
],
opt_shape
=
[
1
,
3
,
256
,
256
],
max_shape
=
[
1
,
3
,
512
,
512
])))
])
configs/mmagic/super-resolution/super-resolution_tensorrt-int8_static-256x256.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_static.py'
,
'../../_base_/backends/tensorrt-int8.py'
]
onnx_config
=
dict
(
input_shape
=
[
256
,
256
])
backend_config
=
dict
(
common_config
=
dict
(
max_workspace_size
=
1
<<
30
),
model_inputs
=
[
dict
(
input_shapes
=
dict
(
input
=
dict
(
min_shape
=
[
1
,
3
,
256
,
256
],
opt_shape
=
[
1
,
3
,
256
,
256
],
max_shape
=
[
1
,
3
,
256
,
256
])))
])
configs/mmagic/super-resolution/super-resolution_tensorrt_dynamic-32x32-512x512.py
0 → 100644
View file @
68661967
_base_
=
[
'./super-resolution_dynamic.py'
,
'../../_base_/backends/tensorrt.py'
]
backend_config
=
dict
(
common_config
=
dict
(
max_workspace_size
=
1
<<
30
),
model_inputs
=
[
dict
(
input_shapes
=
dict
(
input
=
dict
(
min_shape
=
[
1
,
3
,
32
,
32
],
opt_shape
=
[
1
,
3
,
256
,
256
],
max_shape
=
[
1
,
3
,
512
,
512
])))
])
Prev
1
2
3
4
5
6
7
…
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