SijieSong / person_generation_spt

PyTorch Implementation for Unsupervised Person Image Generation with Semantic Parsing Transformation
110 stars 22 forks source link

Problem with test demo #5

Closed cgokce closed 4 years ago

cgokce commented 4 years ago

Hi,

I have tried testing images with: bash ./scripts/test_demo.sh

I have used my source and target images, and changed the coordinates from keypoints.csv. Then I have noticed that results have different behavior than only copying the target pose.

To confirm this, I have tried using the same source/target images and source/target poses(by also modifying keypoint.csv), the results were different! What is the cause of this problem? Why the same inputs give different result pose behavior? (maybe predetermined somewhere in code?)

If this problem is connected to demo, how can I test using my images?

Filename 2A and 2B 2A-2B

Filename 3A and 3B 3A-3B

Note: I was using Lotayou's fork for python3 support.

SijieSong commented 4 years ago

Have you changed the segmentation? The output is also generated according to segmentation masks.

cgokce commented 4 years ago

No, I did not, that explains this behavior. I will also change the masks(under \parsing folder) and report the result later.

Edit: Results are consistent now. Thank you.

2_A jpg_2_B jpg 3_A jpg_3_B jpg