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

Bug in the training code that causes validation losses to be stuck to 0 and infinite #35

Open
robertastellino opened this issue Sep 10, 2023 · 0 comments

Comments

@robertastellino
Copy link

I trained a yolov8 model for object detection, but when looking at the results, I saw that the training losses are correct (they decrease with the training process), but the validation losses are not computed properly: val/box_losses and val/dfl_loss are always equal to zero (from the beginning to the end), while val/cls_loss is always "inf".

results

I also trained my model with the official github and I don't get this error, so I think there is a bug in the code that trains the network.

Thank you in advance for your attention, I hope this error will be fixed soon.

@robertastellino robertastellino changed the title Validation losses stuck to 0 Bug in the training code that causes validation losses to be stuck to 0 and infinite Sep 10, 2023
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

1 participant