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

bbox_nms doesn't fully reduce boxes #147

Open
agriic opened this issue Jan 3, 2025 · 0 comments
Open

bbox_nms doesn't fully reduce boxes #147

agriic opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@agriic
Copy link

agriic commented Jan 3, 2025

Describe the bug

During training, in validation step bbox_nms returns boxes which should have been clearly merged (1px shifts and the same class). This produces wrong metrics.

This happens only for big validation batch sizes (default 32).
It happens randomly and not for all images (i see ~ 20% of images from batch having problems).

I am avoiding this, using smaller validation batch size (8). I did also increased min_confidence in nms config to 0.4

System Info (please complete the following ## information):

  • OS: ubuntu 24.04.01 (using one GPU - 4090)
  • Python Version: 3.10.14
  • PyTorch Version: 2.5.1
  • CUDA/cuDNN/MPS Version: 12.6
  • YOLO Model Version: YOLOv9-c
@agriic agriic added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant