pbaylies / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
740 stars 182 forks source link

Does Resnet trained on FHHQ? #20

Closed gsygsy96 closed 5 years ago

gsygsy96 commented 5 years ago

Hi @pbaylies, sorry to ask such naive question. But I'm a little confused about the policy to train an encoder network. Here are my detailed questions.

  1. Can the encoder be trained in minibatch? or it should be optimized for each image? --- Because I found it I set batchsize=8, the generated images seems crashed. So I wonder if the encoder should be optimized for every single image?

  2. The pretrained resnet provided by you is trained on imagenet or other datasets? Could you simply explain the training details, such as trained on which dataset, and which losses you adopt?

gsygsy96 commented 5 years ago

I got the point. Thanks @pbaylies