Skip to content
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

cls方向分类模型推理有问题,好像是预处理缺失ClsResizeImg #61

Open
williamlzw opened this issue Dec 4, 2022 · 6 comments

Comments

@williamlzw
Copy link

cls方向分类模型推理有问题,好像是预处理缺失,ClsResizeImg

@williamlzw
Copy link
Author

ch_ptocr_mobile_v2.0_cls_infer.pth
python ./tools/infer/predict_cls.py --cls_model_path D:/paddleocr/ch_ptocr_mobile_v2.0_cls_infer.pth --image_dir ./doc/imgs_words/ch/word_1.jpg --use_angle_cls 1

@frotms
Copy link
Owner

frotms commented Dec 4, 2022

@williamlzw 请问报什么错误?

@williamlzw
Copy link
Author

不同方向图片传进去推理结果只有一个0方向

@frotms
Copy link
Owner

frotms commented Dec 5, 2022

对比下paddleOCR是否也是一样的吗

@williamlzw
Copy link
Author

paddleocr结果也都是0,难道是paddleocr出错了?

@frotms
Copy link
Owner

frotms commented Dec 7, 2022

可以贴一下测试图看下

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