-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Code doesn't work with numpy>=1.24 #8743
Comments
Thanks for your suggestion, we'll discuss it further. |
We'vd solved this problem, you can try again |
Still doesn't work; installed paddleocr with pip and got the same error - in |
use numpy 1.23.5, it's work |
同样问题
目前可用一行命令 |
same problem,I'm using |
这个问题解决了吗?我这边还是不行, 这样根据网上的建议,安装的 paddleocr
因为不加 哎,感觉步步是坑,这个库有百度有人认真的维护吗? |
问题在PR #12249 中已经修复了,issue先行关闭了,有问题再开 |
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
The code will not work with
numpy>=1.24
Reference for the deprecation: https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated
When using
paddleocr
with the previousnumpy
versions (<1.24
), it just raises someDeprecationWarning
. However,numpy
has officially removed them in the version1.24
and onward (>=1.24
).Aside from
np.int
,np.bool8
would be considered as wellThe text was updated successfully, but these errors were encountered: