26 lines
511 B
Python
26 lines
511 B
Python
_base_ = ['./base.py']
|
|
pytorch2onnx = dict(
|
|
output_names=['dets', 'labels', 'masks'],
|
|
dynamic_axes={
|
|
'input': {
|
|
0: 'batch',
|
|
2: 'height',
|
|
3: 'width'
|
|
},
|
|
'dets': {
|
|
0: 'batch',
|
|
1: 'num_dets',
|
|
},
|
|
'labels': {
|
|
0: 'batch',
|
|
1: 'num_dets',
|
|
},
|
|
'masks': {
|
|
0: 'batch',
|
|
1: 'num_dets',
|
|
2: 'height',
|
|
3: 'width'
|
|
},
|
|
},
|
|
)
|