Skip to content
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

Different number of keypoins #35

Closed
amirassov opened this issue Oct 22, 2019 · 3 comments
Closed

Different number of keypoins #35

amirassov opened this issue Oct 22, 2019 · 3 comments

Comments

@amirassov
Copy link

amirassov commented Oct 22, 2019

Hi! Keypoint’s location is modeled as a one-hot mask. And it is done with Conv or ConvTranspose layer, where output_channel_size = num_keypoints. I see here: 1 2
But number of keypoints in DeepFashion2 is different for different classes (for example, in COCO dataset num_keypoints=17). How is this problem solved @geyuying ?

@amirassov
Copy link
Author

I found solution from https://github.com/switchablenorms/DeepFashion2/blob/master/evaluation/deepfashion2_to_coco.py#L18.

@coordxyz
Copy link

Hi! Keypoint’s location is modeled as a one-hot mask. And it is done with Conv or ConvTranspose layer, where output_channel_size = num_keypoints. I see here: 1 2
But number of keypoints in DeepFashion2 is different for different classes (for example, in COCO dataset num_keypoints=17). How is this problem solved @geyuying ?

hi, @amirassov ,
Do you solve the problem and how?
It seems that the deepfashion2_to_coco.py concatenates all 294 keypoints together for each cloth. That is, the maximum number of valid keypoints is only 39(long sleeve outwear). How to handle this unbalance between negative and positive labels?

@mtroym
Copy link

mtroym commented Mar 24, 2020

@geyuying could you publish more details on how to handle the unbalance problem in match rcnn baseline model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants