Closed Johnson-yue closed 3 years ago
Hi @Johnson-yue, you can take a look at the arguments for the pSp forward pass
https://github.com/eladrich/pixel2style2pixel/blob/master/models/psp.py#L66
Specifically in your case, simply setting return_latents=True
will make the function return a tuple of both the images and latents
images, result_latents = net(...,return_latents=True)
thank you, I got it
in the funtion of run_on_batch(). it only inversion image and generated fake image but not have output of image
if I want the dlatens (or W+) in FFHQ model , how I get ?