Skip to content

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

@MachineLearning4Work

Description

@MachineLearning4Work

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions