FD-GAN icon indicating copy to clipboard operation
FD-GAN copied to clipboard

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

Open iskenderkahramanoglu opened this issue 5 years ago • 3 comments

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.

iskenderkahramanoglu avatar Oct 25 '19 14:10 iskenderkahramanoglu

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

yxgeee avatar Oct 25 '19 15:10 yxgeee

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

iskenderkahramanoglu avatar Oct 25 '19 16:10 iskenderkahramanoglu

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.

iskenderkahramanoglu avatar Oct 26 '19 07:10 iskenderkahramanoglu