About PTI Inversion
qplwme opened this issue · 1 comments
qplwme commented
Hi! Thanks for your great work.
I'm trying to inverse target images as you descibe in 4.5 Inversion section. Could you give me some clue about it?
In detail, I've got an embed with shape(1, 18, 512) at (PTI repo)/embeddings/barcelona/PTI by following https://github.com/danielroich/PTI. However, I just dont know how to change the embed to fit your 'mean_latent' in line 269 generation_demo.py
hongfz16 commented
Hi. Thank you for the question.
Actually, the 'mean_latent' is used for truncation. And you do not need to do truncation in inversion. So you can just pass None to 'mean_latent'.