-
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
numpy version issue #13991
Comments
Downgrade NumPy: Since you mentioned that the problem does not occur with NumPy version 1.26.3, a temporary workaround would be to downgrade to that version: |
@OmarFaig But I need to make paddleocr work in an environment where numpy 2.0 or higher is installed.... |
cannot work for numpy geater than 2.0, for quick apply new numpy version, try this #13467 |
#13937 [WIP] Is there a difference between upgrade to numpy 2.0 and remove imgaug and #13467? I'm trying it, but I still don't get the result in numpy 2.0 or higher. Package Version |
What's the specific numpy version issue you're facing? |
With numpy 2.1.2, training does not occur at all (loss does not decrease) and inference with a pretrained model does not produce any results. (Running the same data with numpy 1.26.3 produces normal results.) Trying #13467 also produced the following error, training did not occur, and inference still did not produce any results. |
That looks really weird, we'll investigate further. |
@agzeroo Please try our latest main branch to check if the issue is resolved. |
🔎 Search before asking
🐛 Bug (问题描述)
Hi.
I was using numpy version 1.26.3 and there was no problem.
But when numpy version becomes 2.0 or higher, the problem occurs.
Is there any way to solve this problem as quickly as possible?
#13937 (comment)
🏃♂️ Environment (运行环境)
paddlepaddle-gpu 2.5.2
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
The text was updated successfully, but these errors were encountered: