idinvert_pytorch icon indicating copy to clipboard operation
idinvert_pytorch copied to clipboard

Generator Trained using Genforce repo

Open aminullah6264 opened this issue 1 year ago • 1 comments

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",

aminullah6264 avatar Nov 28 '22 19:11 aminullah6264

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

zhujiapeng avatar Nov 29 '22 09:11 zhujiapeng