panoptic-seg_maskformer_onnxruntime_dynamic.py 406 Bytes
Newer Older
limm's avatar
limm committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_base_ = [
    './panoptic-seg_maskformer_onnxruntime_static-800x1344.py',
]
onnx_config = dict(
    dynamic_axes={
        'input': {
            0: 'batch',
            2: 'height',
            3: 'width'
        },
        'cls_logits': {
            0: 'batch',
        },
        'mask_logits': {
            0: 'batch',
            2: 'h',
            3: 'w',
        },
    },
    input_shape=None)