Skip to content

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

@Clichong

Description

@Clichong

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions