Puzer / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
1.07k stars 165 forks source link

How do you compute VGG loss? #20

Open zhibo-liu opened 5 years ago

zhibo-liu commented 5 years ago

Hi Puzer,

Did you just use VGG layer9 to compute the loss? https://github.com/Puzer/stylegan-encoder/blob/1e7e47f9bbb0ca391cdc250af5ad2468250a803c/encoder/perceptual_model.py#L21

Thank you.

canorbal commented 5 years ago

Hi!

I am not @Puzer, however, it seems he uses an output from the only one vgg layer