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

About the Inversion Speed in paper #27

Closed tachikoma777 closed 3 years ago

tachikoma777 commented 3 years ago

Hi, great work! I notice that in first version the In-domain Inversion speed is 142s, but in following versions the speed is 8s. Did you do anything to speed up? is the speed based on domain-guided encoder to provide the initialization? Thanks!

zhujiapeng commented 3 years ago

Yes, we found that with the initialization of our domain-guided encoder, the number of iterations of optimization has been reduced from more than 1000 to 100. Besides, the dimension of the last feature maps of our encoder has been reduced from 4x4x1024 to 4x4x512.