|
{ |
|
"version": "1.3.0", |
|
"codebase": { |
|
"task": "TextDetection", |
|
"codebase": "mmocr", |
|
"version": "1.0.1", |
|
"pth": "./dbnet_resnet18_fpnc_1200e_totaltext-3ed3233c.pth", |
|
"config": "dbnet_resnet18_fpnc_1200e_totaltext.py" |
|
}, |
|
"codebase_config": { |
|
"type": "mmocr", |
|
"task": "TextDetection" |
|
}, |
|
"onnx_config": { |
|
"type": "onnx", |
|
"export_params": true, |
|
"keep_initializers_as_inputs": false, |
|
"opset_version": 11, |
|
"save_file": "end2end.onnx", |
|
"input_names": [ |
|
"input" |
|
], |
|
"output_names": [ |
|
"output" |
|
], |
|
"input_shape": null, |
|
"optimize": true, |
|
"dynamic_axes": { |
|
"input": { |
|
"0": "batch", |
|
"2": "height", |
|
"3": "width" |
|
}, |
|
"output": { |
|
"0": "batch", |
|
"2": "height", |
|
"3": "width" |
|
} |
|
} |
|
}, |
|
"backend_config": { |
|
"type": "onnxruntime" |
|
}, |
|
"calib_config": {} |
|
} |