How to calculate xy-keypoints during training?
See original GitHub issueI’d like to implement a new loss for the keypoint head. For this loss, I need the xy-coordinates of the predicted keypoints. However, in _forward_keypoint
and keypoint_rcnn_loss
, I only have access to keypoint_logits
. To convert keypoint_logits
into xy-keypoints, I think I need to apply the steps in keypoint_rcnn_inference
.
Now I have two questions:
- Is this approach correct so far?
- For the conversion from
keypoint_logits
into xy-keypoints, I need to specify the bounding boxes of the instances. Inkeypoint_rcnn_inference
the predicted boxes from the box head are used. However, during training I don’t have access to this information yet. Can I just use the proposal boxes?
Thanks in advance.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to Calculate Your Training Heart Rate Zones - ACTIVE
The key to getting results is elevating your heart rate into the correct training zone, so effort matches goals. Learn how to calculate...
Read more >5 Easy Ways to Measure the ROI of Training
The traditional ROI formula for training is the program benefits (net profit) minus the training costs and then divided by the program costs....
Read more >How to Calculate Sweat Rate - TrainingPeaks
Determining your sweat rate is the first step in creating a successful hydration strategy. Here's how to calculate sweat rate and why it's...
Read more >Training Video: Calculating FTEs - VAWA MEI
This is a recording of the webinar, “ Calculating FTEs for your OVW Semi-Annual Progress Report,” that was presented on July 9, 2021,...
Read more >Runner's World's Training Pace Calculator
Calculate your running training paces - just enter a recent race time into our training pace calculator and we'll do the rest.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cognitiveRobot I used the function
heatmaps_to_keypoints
with the proposed bounding boxes and implemented acustom_loss_function
which operates on the xy-keypoints:Ultimately, I did not end up using this loss function but stuck to the default keypoint loss, so this function is not very well tested. Also, it is obviously shamelessly copied from various places in the original code.
@maxfrei750, thanks for sharing. If I test, I will let you know.