-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
How to extract all class probabilities for each bounding box? #968
Comments
Hello @sssmost, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Google Colab Notebook, Docker Image, and GCP Quickstart Guide for example environments. If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. |
@glenn-jocher
|
@Lornatang oh, that's interesting. This is part of new NMS. Can you supply code to reproduce? Is this running detect.py --half? |
@glenn-jocher My command is python3 train.py |
@Lornatang I can't reproduce. I git cloned the repo in a new colab notebook and am unable to reproduce the error using: |
@glenn-jocher |
This issue is stale because it has been open 30 days with no activity. Remove Stale label or comment or this will be closed in 5 days. |
I found a solution. The probabilities are deleted inside # Apply NMS I modified the call to return all probabilities for each bounding box in pred_complete: And inside the function:
` |
Hi Ssmost, Where did you define output_complete? What did you do with the original rest of the code between your implementation (####) ? thanks |
@yehadrabba You're on the right track! One potential improvement is to make sure you include output_complete in the function's return statement. To do this, you should define the output_complete list before the loop or as an empty tensor if using PyTorch. Additionally, your modifications look good and are in line with YOLO's expected output. Great work! Keep it up! |
Hello,
I am trying to extract all class probabilities for each bb returned by YOLOv3 using detect.py. However, they are loss and it is only extracted one class per bb. How I could do it? They are loss in non_max_suppression process?
Thanks in advance
The text was updated successfully, but these errors were encountered: