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

Giving a specific target and generate image of source's with target pose? #36

Open
iskenderkahramanoglu opened this issue Oct 25, 2019 · 3 comments

Comments

@iskenderkahramanoglu
Copy link

Thanks for this special project.

I trained my own dataset, finished all stage. But i want to give a specific source and target image, and generate an image of source's with target pose. How can i do this, can you explain me plesase?

Thanks again.

@yxgeee
Copy link
Owner

yxgeee commented Oct 25, 2019

Thanks for this special project.

I trained my own dataset, finished all stage. But i want to give a specific source and target image, and generate an image of source's with target pose. How can i do this, can you explain me plesase?

Thanks again.

Hi,

You need to,

  1. Load trained networks and set to eval()
  2. Read your image and target pose file
  3. Forward the inputs to the network
  4. Achieve images from tensor referring to https://github.com/yxgeee/FD-GAN/blob/master/fdgan/utils/util.py#L14

@iskenderkahramanoglu
Copy link
Author

Thanks for your reply. I will try soon, and give you feedback.

@iskenderkahramanoglu
Copy link
Author

Thanks for this special project.
I trained my own dataset, finished all stage. But i want to give a specific source and target image, and generate an image of source's with target pose. How can i do this, can you explain me plesase?
Thanks again.

Hi,

You need to,

  1. Load trained networks and set to eval()
  2. Read your image and target pose file
  3. Forward the inputs to the network
  4. Achieve images from tensor referring to https://github.com/yxgeee/FD-GAN/blob/master/fdgan/utils/util.py#L14

Hi, again.

I examined project's codes but, i couldn't understand your steps. Can you explain me step by step. How can i load trained networks and set to eval(), read pose files, forward to networks and archieve images.

Thanks again.

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

2 participants