genforce / idinvert_pytorch

[ECCV 2020] In-Domain GAN Inversion for Real Image Editing (PyTorch code)
https://genforce.github.io/idinvert/
MIT License
407 stars 54 forks source link

Generator Trained using Genforce repo #37

Open aminullah6264 opened 1 year ago

aminullah6264 commented 1 year ago

Can a generator trained in your repo https://github.com/genforce/genforce be used here for inversion? I tried to trained Gen and Encoder in Genforce and trying to use the pre-trained weights here but seems like the names of the layers are different. I am getting Error(s) in loading state_dict for StyleGANGeneratorNet: Missing key(s) in state_dict: "mapping.dense0.fc.weight", "mapping.dense0.wscale.bias",

zhujiapeng commented 1 year ago

The generator trained using genforce can not be used in this repo.