pbaylies / stylegan2

StyleGAN2 - Official TensorFlow Implementation with practical improvements
http://arxiv.org/abs/1912.04958
Other
315 stars 67 forks source link

no learnable_dlatents in stylegan2 #4

Open segalinc opened 4 years ago

segalinc commented 4 years ago

Hi,

checking out the generator there is no learnable_dlatents in the stylegan2 model how can we fix this?

dimitry12 commented 4 years ago

The necessary code was removed in https://github.com/pbaylies/stylegan2/commit/83be11ab9337b8ef6e723d919bbe94f0060540f5#diff-fc7dc3c78fc53ae2f9267c94f71e16adL403-L410

Putting custom_inputs back fixes the error.