question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

training detectron2 for hand keypoints detection, how to create keypoint_flip_map?

See original GitHub issue

❓ How to use Detectron2

Hi,

I wish to use detectron2 for detecting hand keypoints but do not know how to create values for keypoint_flip_map used in MetadataCatalog. My dataset contains 21 keypoints on a hand image which are not symmetric (like the person pose keypoints in coco). How do I determine which keypoints should be paired for the flip map?

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
n1dhicommented, Jul 25, 2020

Hi I am trying to create a key point detector for a shelf, where there is no symmetry. I have set keypoint_flip_map to an empty list but I am still getting the following error

keypoints = keypoints[keypoint_hflip_indices, :]
IndexError: arrays used as indices must be of integer (or boolean) type
2reactions
umarasifcommented, Jan 14, 2020

I think the code does not allow empty keypoint_flip_map.

I think it is allowed. Note that empty does not mean “not provided”. You still need to set it to an empty list.

Thank you. Yes, it allows empty keypoint_flip_map

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keypoints Detection on Custom Dataset Using Detectron2
Detectron2 - Key Point Detection with PyTorchIn this video, I will show you Key point Detection On Custom Dataset using Detectron2.
Read more >
How to Train a Custom Keypoint Detection Model with PyTorch
I will demonstrate how to fine-tune the above-mentioned model using a custom dataset. For this purpose I've created a dataset of images with ......
Read more >
How to Train a Custom Keypoint Detection Model
As a first step, you might want to develop a keypoint detector prototype which could be used in a minimum viable product (MVP)....
Read more >
Hand Keypoint Detection using Deep Learning and OpenCV
Hand Keypoint detection is the process of finding the joints on the fingers as well as the finger-tips in a given image.
Read more >
How to Train Detectron2 on Custom Object Detection Data
To export your own data for this tutorial, sign up for Roboflow and make a public workspace, or make a new public workspace...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found