genforce / idinvert_pytorch

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

generator model keys doesn't match #32

Open yeong95 opened 2 years ago

yeong95 commented 2 years ago

I trained stylegan generator from genforce (https://github.com/genforce/genforce/tree/2ad04974cfaeba20b93c806531f987f06cc5c328)

But when loading weights from trained model the keys doesn't match each other.

How do i fix this?

image

zhujiapeng commented 2 years ago

The stylegan generator of genforce is refactored. The whole training pipeline can be found here, this pytorch repo only supports inference.

yeong95 commented 2 years ago

Thank you for reply.

And one more question: Is the inversion process in genforce repo the same as the inversion process in this repo?

zhujiapeng commented 2 years ago

No, the genforce supports training the encoder in this repo.