Skip to content

[Bug] onnx推理结果与pth结果不一致 #2075

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
Clichong opened this issue Apr 17, 2025 · 0 comments
Open
2 tasks done

[Bug] onnx推理结果与pth结果不一致 #2075

Clichong opened this issue Apr 17, 2025 · 0 comments
Assignees

Comments

@Clichong
Copy link

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推理结果不一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants