pbaylies / stylegan-encoder

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

How to calculate the proportion of each loss #35

Closed Decalogue closed 4 years ago

Decalogue commented 4 years ago

Hi! This work is excellent! I want to know how to calculate the proportion of each loss(such as your default value: 0.4,1.5,100,100,1). Thank you so much!

pbaylies commented 4 years ago

Hi @Decalogue,

Those numbers are used as scaling factors for the various parts of the loss function; unfortunately, during the course of training, the losses will all influence each other and change over time. They were obtained by trial and error; good luck!