mmdeploy/configs/mmaction/video-recognition/video-recognition_3d_dynamic.py
Chen Xin d8e6229dc5
Support mmaction master (#1183)
* cpu format shape

* convert model

* python api

* speedup dataloader

* minor

* add cpp demo

* add visualize

* fix resize param order

* export pipeline.json

* fix three crop

* read SampleFrames from model_cfg

* minor

* lint

* move to a func

* speed up format shape cpu

* use input mat device

* fix comments

* fix comments

* update docs/benchmark

* docs/supported-codebases

* update tests/data

* fix lint

* fix lint
2022-11-04 14:15:36 +08:00

17 lines
330 B
Python

_base_ = ['./video-recognition_static.py']
onnx_config = dict(
dynamic_axes={
'input': {
0: 'batch',
1: 'num_crops * num_segs',
3: 'time',
4: 'height',
5: 'width'
},
'output': {
0: 'batch',
}
},
input_shape=None)