Closed ArashVahabpour closed 3 years ago
Hi @ArashVahabpour!
This is caused by a wrong opts.stylegan_size
value in the following line:
https://github.com/omertov/encoder4editing/blob/1f27dfc64b1f5567aea5b67018804e7daf961ef6/models/encoders/psp_encoders.py#L146
(according to the exception it seems like it is set to 512 while it should be 1024)
Perhaps the 1024 value in the checkpoint is being overriden by the script you are running, can you elaborate which script it is? (On a previous commit we fixed a bug in which if your dataset type contained the string 'car' it would override the stylegan_size value to 512, perhaps pulling the latest code will help)
Best, Omer
Hello, Thanks for providing the code. When I use the pre-trained ffhq encoder, I stumble upon the following error
Can you please let me know if you know how to resolve this issue? Thanks!