-
Notifications
You must be signed in to change notification settings - Fork 14
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
Added labels generation #18
Conversation
samihormi
commented
Jun 13, 2023
•
edited
Loading
edited
- Fixes issues
- About generating human parsing labels #2
- preprocessing #3
- python scripts of human parsing labels #7
- Mask generator #8
- Can you share your mask generator code? Thank you very much #11
- hi author #16
Hi @samihormi, thanks for sharing this, I will have a look asap! Have you tried to reproduce the results on one of the public datasets, such as Occluded-Duke? Do you have some visualization of the resulting masks to share? |
Hey @VlSomers, I did reproduce the labels for Occluded-ReID, which I used as "ground-truth", to generate masks as visually close as possible to yours. I obviously don't get the exact same masks but overall, they seem to get the job down — at least visually. |
Hi @samihormi , thank you for sharing these visualizations, can you update the README file and revert all the small changes you made, to only keep the added section "### Generate human parsing labels"? I will merge your PR after that |
Can you also provide more information on how you choose the segmentation mask to apply? If I'm not wrong, you just pick the first one returned by maskRCNN: how do you know it is a person and not another class? |
Hi @samihormi , any update about previous questions? |
Hey @VlSomers, yes I have changed the logic of the segmentation mask generation following your comment. Initially, I was assuming that all input is "human" and I just took the first identity generated (corresponding to the highest score). Also, I tweaked the mask. extension of PifPaf for the Occluded_reID dataset from ".jpg.confidence_fields.npy" to ".tif.confidence_fields.npy". which is the correct extension |
|
@ellzeycunha0 Could you give me the whole error log and the dataset configuration on which you tried the code. |
@samihormi "zip(...)" could be None. |