-
Notifications
You must be signed in to change notification settings - Fork 128
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
Image parsing #15
Comments
Hi @santosh9sanjeev , to run the model with custom internet images, make sure you have the following:
Hope that helps. Thank you. |
Thank you @minar09 for your help |
It is not clear how weird result for the mask generated. Can you upload or share the code for cp_dataset or the result of CIHP_PGN. May be the file format is different from VITON dataset. |
Hi @santosh9sanjeev , please make sure to use grayscale ([0, 20]) files as input, not the RGB files from the CIHP_PGN generated segmentation. Also, I think you don't need to create binary shape masks directly before testing for CIHP_PGN (although there is no harm in that, creating binary masks script was made for VITON/LIP style segmentation), since CIHP_PGN produces better segmentation with torso-neck label. You can get the body shape for input in
|
Thank you so much minar09 for your help... |
Yes, just change the code if you don't need them. Only updating in |
Closing the issue as its resolved. Feel free to reopen in case there are still problems. Results with custom images: #23 |
I am trying with segmentation generated from Graphonomy. Any suggestion on how to convert that to grayscale with 0-20 classes? |
Actually, any image segmentation network should originally generate grayscale output, so please check the actual network output. |
Thanks for the information! If it is directly generated then can you help me to understand what changes you had done or what run cmd you had used. Thanks, |
@yashp0103 , CP-VTON+ model directly uses openpose-generated keypoints, no modification is needed. And the face_keypoints are not used in this model, you can ignore them. If your joints have pose_keypoints_2d, you can directly use it by just changing this line: https://github.com/minar09/cp-vton-plus/blob/master/cp_dataset.py#L152 to |
Thank you so much @minar09 |
00989174286532 Whats App |
@Amin-asadii , you can try CIHP-PGN pre-trained model for parsing, which should give better results. |
Python MATLAB Owner |
@Amin-asadii , no need to install Matlab for CP-VTON+. |
@minar09 Hello dear friend, thank you for your help |
tank you for help you
Matiur Rahman Minar ***@***.***> در تاریخ شنبه ۱۸
سپتامبر ۲۰۲۱ ساعت ۹:۰۴ نوشت:
… @Amin-asadii <https://github.com/Amin-asadii> , here you go:
https://github.com/CMU-Perceptual-Computing-Lab/openpose/releases/download/v1.7.0/openpose-1.7.0-binaries-win64-gpu-python3.7-flir-3d_recommended.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATDBTCFSFUDDECQ3FO4MTGLUCQJGZANCNFSM4QEY3REQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I am trying to give inputs from internet like take an image of a person and an image of the cloth..
I tried running the dataset_neck_skin_connection.py
How should I get the image-parse for the input image.. pls guide me.. I am a beginner
The text was updated successfully, but these errors were encountered: