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

Predicted boxes or scores contain Inf/NaN. Training has diverged. #23

Open
MachineLearning4Work opened this issue Jan 24, 2024 · 1 comment

Comments

@MachineLearning4Work
Copy link

I encountered an issue while running the training code using train_net.py. The error suggests a FloatingPointError in the file "proposal_utils.py" at line 103, indicating that predicted boxes or scores contain Inf/NaN, leading to training divergence.

File "/usr/local/lib/python3.10/dist-packages/detectron2/modeling/proposal_generator/proposal_utils.py", line 103, in find_top_rpn_proposals

raise FloatingPointError(

FloatingPointError: Predicted boxes or scores contain Inf/NaN. Training has diverged.

How can I resolve this issue?

@xrimpy
Copy link

xrimpy commented Jun 22, 2024

Same error here

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