-
Notifications
You must be signed in to change notification settings - Fork 70
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
Using custom parser #1
Comments
Hi @armheb , thanks for your kind words. Yes, I think you can use CIHP_PGN parsing for this model. Since this model is pre-trained with a converted segmentation (labels = 14), to use PGN, you may need to train the model again.
I may be wrong here, please let me know how it goes when you do this. Hope this helps. Thanks and good luck. |
Thanks for your detailed explanation, you're right training the model end-to-end is not easy. I just wanted to compare the results of this model on my custom images since some of the results that were shared were not very good. |
Hi @armheb , I am sorry I haven't tried the Self-Correction-Human-Parsing myself. They seem to provide trained models for LIP segmentation, but the ACGPN author mentioned that their label ordering is different. Maybe they trained their own Self-Correction-Human-Parsing. They do provide the ordering in the readme. I hope you can get successful. |
On second thought, maybe you can make a script for converting the parsing labels of your custom images, pillow should work. For example, for UpperClothes label do |
Thank you so much for the answers, changing the Self-Correction-Human-Parsing labels as you mentioned solved the problem. thanks. |
For Self-Correction-Human-Parsing labels, since ACGPN combined multiple labels (20=>14), their channel 5 might not be purely channel 5 from original 20 labels dataset. You might also need to combine other clothe label like coat (label 7) or Jumpsuits (label 10) from LIP labels. To be more specifically, multiple labels refer to upper cloth in self correction human parsing, and same issues when processing bottom cloth. |
@abc123yuanrui @minar09 @armheb Your discussion is very useful. I have a question about how to generate a suitable human body analysis diagram and posture diagram, and whether the corresponding code is provided. If so, I would greatly appreciate it |
Hi, Great work, and thanks for sharing. can I use the PGN_tf parsing model and use the output in this model? currently, I'm using the U^2 net mode to generate the masks.
I'd appreciate it if you could guide me to test this model on custom images.
The text was updated successfully, but these errors were encountered: