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

离线量化paddleocr rec模型存在问题 #1814

Open
tangjinhan opened this issue Dec 9, 2023 · 2 comments
Open

离线量化paddleocr rec模型存在问题 #1814

tangjinhan opened this issue Dec 9, 2023 · 2 comments
Assignees

Comments

@tangjinhan
Copy link

报错提示“ValueError: (InvalidArgument) shape should have the save dim with perm, but received shape size is:4, perm size is:3.
[Hint: Expected shape.size() == perm.size(), but received shape.size():4 != perm.size():3.] (at ../paddle/phi/kernels/funcs/transpose_function.cu.h:663)
[operator < transpose2 > error]

版本说明:paddleslim :develop PaddlePaddle: 2.5.1 paddlelite:2.13rc0

@tangjinhan tangjinhan changed the title 理想量化paddleocr rec模型存在问题 离线量化paddleocr rec模型存在问题 Dec 9, 2023
@XGZhang11
Copy link
Collaborator

shape对不上,有可能是输入数据的问题

@ZIKAIHHUANG
Copy link

请问解决了吗?

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

4 participants