Welcome to the TF community.
Are you looking for something like this?

  
      

      github.com
  

  
    

GitHub - genforce/idinvert: [ECCV 2020] In-Domain GAN Inversion for Real Image... 1


  [ECCV 2020] In-Domain GAN Inversion for Real Image Editing - GitHub - genforce/idinvert: [ECCV 2020] In-Domain GAN Inversion for Real Image Editing

  

  
    
    
  

  


https://genforce.github.io/idinvert/