zhangzc21 / Generalized-One-shot-GAN-Adaptation

58 stars 9 forks source link

Generate synthetic sample from trained genralized one shot #4

Closed shiblyg closed 1 year ago

shiblyg commented 1 year ago

After training G_target.pkl file save in the result directory. I can also run the inference. But I am wondering how I can create 100 or more single synthetic samples from the trained model.

zhangzc21 commented 1 year ago

Hi, @shiblyg, for obtaining more syntheses, e.g., 100, please manually change num = 1 to num = 100. https://github.com/zhangzc21/Generalized-One-shot-GAN-Adaptation/blob/1fad72338ade9e56cf395c730446794f21e6be04/inference.py#L178