-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Return heatmaps and backbone features during inference #212
Conversation
…g inference of top-down pose model
how does other repos return features? maybe use hooks? i'm not sure keep changing return signatures is a sustainable way |
Codecov Report
@@ Coverage Diff @@
## master #212 +/- ##
==========================================
+ Coverage 82.90% 83.21% +0.31%
==========================================
Files 106 108 +2
Lines 6211 6400 +189
Branches 1001 1030 +29
==========================================
+ Hits 5149 5326 +177
+ Misses 874 871 -3
- Partials 188 203 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
there are linting errors. you can try to run |
Good!
to |
Thanks! And same issues here.
============================================
to
|
This comment has been minimized.
This comment has been minimized.
unit tests are failing, you can look at the error log here https://github.com/open-mmlab/mmpose/pull/212/checks?check_run_id=1305158220. you can also run |
Thanks, fixed build errors. Is this ready to merge? |
Hi @vsatyakumar , we will release new version tomorrow. If the changes are quick enough, we can make this into this new version 😃 |
Pushed fixes. Hope everything looks good. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests/data/smpl/test_joint_regressor.npy
should not be added.
Yes, fixed. Please add test files to .gitignore |
Thanks to @michalwols for feedback on improving hooks logic! |
@jin-s13 you may try this branch to see if it solves the memory issue |
Thanks! |
* Added optional support to return heatmaps and backbone features during inference of top-down pose model * Added hooks for extracting layer outputs defined by name (and heatmap) * Fixed docstring * return heatmap condition fix * Docstring fixes * Docstring fixes * Docstring fixes * 'image' call fix * Fixed linting errors * fixed top down demo * fixed evaluate func * Fixed evaluate func * Fixed json loader in tests * Cleanup * try catch fix * try catch fix * Fixed model forward_test return signature to return heatmap * Deleted test file * Added .npy to ignore list * Optimized layer output hooks logic * Decoupled heatmap from output layer names. * Refactored mmpose.utils.hooks * Fixed mmpose.utils.hooks * Fixed output_layer_names default in top down demos Co-authored-by: OWAL Admin <janderoot@owal.io>
* Added optional support to return heatmaps and backbone features during inference of top-down pose model * Added hooks for extracting layer outputs defined by name (and heatmap) * Fixed docstring * return heatmap condition fix * Docstring fixes * Docstring fixes * Docstring fixes * 'image' call fix * Fixed linting errors * fixed top down demo * fixed evaluate func * Fixed evaluate func * Fixed json loader in tests * Cleanup * try catch fix * try catch fix * Fixed model forward_test return signature to return heatmap * Deleted test file * Added .npy to ignore list * Optimized layer output hooks logic * Decoupled heatmap from output layer names. * Refactored mmpose.utils.hooks * Fixed mmpose.utils.hooks * Fixed output_layer_names default in top down demos Co-authored-by: OWAL Admin <janderoot@owal.io>
* Added optional support to return heatmaps and backbone features during inference of top-down pose model * Added hooks for extracting layer outputs defined by name (and heatmap) * Fixed docstring * return heatmap condition fix * Docstring fixes * Docstring fixes * Docstring fixes * 'image' call fix * Fixed linting errors * fixed top down demo * fixed evaluate func * Fixed evaluate func * Fixed json loader in tests * Cleanup * try catch fix * try catch fix * Fixed model forward_test return signature to return heatmap * Deleted test file * Added .npy to ignore list * Optimized layer output hooks logic * Decoupled heatmap from output layer names. * Refactored mmpose.utils.hooks * Fixed mmpose.utils.hooks * Fixed output_layer_names default in top down demos Co-authored-by: OWAL Admin <janderoot@owal.io>
Hi! We would also like to invite you to join our Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us :https://discord.gg/UjgXkPWNqA If you have WeChat account,welcome to join our community on WeChat. You can add our assistant :openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends:) |
* Added optional support to return heatmaps and backbone features during inference of top-down pose model * Added hooks for extracting layer outputs defined by name (and heatmap) * Fixed docstring * return heatmap condition fix * Docstring fixes * Docstring fixes * Docstring fixes * 'image' call fix * Fixed linting errors * fixed top down demo * fixed evaluate func * Fixed evaluate func * Fixed json loader in tests * Cleanup * try catch fix * try catch fix * Fixed model forward_test return signature to return heatmap * Deleted test file * Added .npy to ignore list * Optimized layer output hooks logic * Decoupled heatmap from output layer names. * Refactored mmpose.utils.hooks * Fixed mmpose.utils.hooks * Fixed output_layer_names default in top down demos Co-authored-by: OWAL Admin <janderoot@owal.io>
* Added optional support to return heatmaps and backbone features during inference of top-down pose model * Added hooks for extracting layer outputs defined by name (and heatmap) * Fixed docstring * return heatmap condition fix * Docstring fixes * Docstring fixes * Docstring fixes * 'image' call fix * Fixed linting errors * fixed top down demo * fixed evaluate func * Fixed evaluate func * Fixed json loader in tests * Cleanup * try catch fix * try catch fix * Fixed model forward_test return signature to return heatmap * Deleted test file * Added .npy to ignore list * Optimized layer output hooks logic * Decoupled heatmap from output layer names. * Refactored mmpose.utils.hooks * Fixed mmpose.utils.hooks * Fixed output_layer_names default in top down demos Co-authored-by: OWAL Admin <janderoot@owal.io>
No description provided.