-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
训练出现长警告 #8419
Labels
Comments
感谢反馈,会尽快修复 |
Merged
我也遇到这个问题。但是有一次又出现是int。 所以这里是不是不要numpy()更好 |
的确有这个问题,其它项目中看到是需要回退paddle版本到2.4,如 PaddlePaddle/PaddleOCR#10295 ,这样能解决最好,感谢 GuoQuanhao |
感谢这位同学 |
这个有修复了吗? 我也遇到这个2.5.1 将loss_function返回的张量转numpy就会一直打印此警告。 |
PaddleDetection2.6第77行原本就是这个了v.update(float(stats[k])) |
解决困扰我许久的问题,谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题确认 Search before asking
Bug组件 Bug Component
No response
Bug描述 Describe the Bug
训练出现长警告
复现环境 Environment
PaddleDetection2.6
PaddlePaddle2.5.0
经过排查将
ppdet/utils/stats.py
第77行进行如下修改v.update(stats[k].numpy())
→v.update(float(stats[k]))
Bug描述确认 Bug description confirmation
是否愿意提交PR? Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: