Prerequisite
Task
I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmocr
Environment
python=3.8
torch1.10.0+cu111
torchvision0.10.0+cu111
Reproduces the problem - code sample
/
Reproduces the problem - command or script
/
Reproduces the problem - error message
/
Additional information
参考官方提供的mmocr.api下的TextRecInferencer推理类,提取里面的预处理和后处理流程对onnx进行推理,但是onnx推理结果和pth推理结果不一致
Prerequisite
Task
I have modified the scripts/configs, or I'm working on my own tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmocr
Environment
python=3.8
torch1.10.0+cu111
torchvision0.10.0+cu111
Reproduces the problem - code sample
/
Reproduces the problem - command or script
/
Reproduces the problem - error message
/
Additional information
参考官方提供的mmocr.api下的TextRecInferencer推理类,提取里面的预处理和后处理流程对onnx进行推理,但是onnx推理结果和pth推理结果不一致