text-recognition_dynamic.py 276 Bytes
Newer Older
limm's avatar
limm committed
1
2
3
4
5
6
7
8
9
10
11
12
13
_base_ = ['./text-recognition_static.py']
onnx_config = dict(
    dynamic_axes={
        'input': {
            0: 'batch',
            3: 'width'
        },
        'output': {
            0: 'batch',
            1: 'seq_len',
            2: 'num_classes'
        }
    }, )