stargan-v2 icon indicating copy to clipboard operation
stargan-v2 copied to clipboard

After training, can I generate some images from input without eval?

Open iPsych opened this issue 4 years ago • 4 comments

After training, can I generate some images from input without eval? For example, specifying input .jpg or folder, in case I have only some cat images want to transfer to dogs.

iPsych avatar Apr 28 '20 23:04 iPsych

Hi, You can use ‘—mode sample’ for that. Check this part in README.

youngjung avatar Apr 29 '20 00:04 youngjung

@youngjung Thanks. But I asked it because using eval command, the result mixed the identity of persons. So, I wonder if there is command to generate i.e. male/female image from input image.

iPsych avatar Apr 29 '20 00:04 iPsych

I am confused with your word "eval". Do you mean without "reference image"?

If yes, you can do that with https://github.com/clovaai/stargan-v2/blob/e28bdee908fdf3cb787cc2dfa3310d586e4b60ed/core/utils.py#L78

youngjung avatar May 06 '20 02:05 youngjung

After training, I just want to generate output images from input images , without evaluation metrics and interpolation videos. So, which mode should I choose between eval and sample? Thank you so much.

zhangyu-python avatar Apr 13 '21 08:04 zhangyu-python