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
Nice visualizations! #4
Comments
@glenn-jocher Thanks dude! Yeah I think it could be useful, I finally was able to understood the model output when I did the grid visualizations. That sounds great. I still need to clean up the code some more, but will reach out with a PR this week. |
@seanavery great, sounds good! Introspection is very important to help understand what is going. |
Best works! |
@glenn-jocher hey, just a little update. getting back to the yolo code Forked off from your repository and working on implementing a plotting function in general.py called One consideration, I am sending the
I was thinking it would be cool if there was a model "debug" mode where visualizations like the object probability, class grid, raw bounding boxes, and anchor statistic could be processed. Making sure to use matplot lib to write images to |
Object probability grid refactored to pytorch and working in the codebase. works on cpu and gpu cli argument I am still working on removing all hardcoding and simplifying the code more. |
@seanavery oh that's really cool. Can you show some examples? Yes, a debug mode would be interesting. If we can keep all of the plots seperated in general.py, or perhaps bring all plotting functions into their own plots.py, so the inline impact is minimal (i.e. in the loss function), then I think this could work well. |
@seanavery only output the heatmap? where is the box of instances? |
The grid visualizations could be very useful for development and testing, and if fact YOLOv5 uses a new multiple-grid assignment structure that shows up well in your images.
If you have a concise plotting function for creating these perhaps we could do a PR into yolov5/utils/general.py (where all the plotting functions are located).
The text was updated successfully, but these errors were encountered: