LPengYang / FreeDrag

Official Implementation of FreeDrag (CVPR 2024)
https://lin-chen.site/projects/freedrag/
409 stars 20 forks source link

uploading image error #11

Closed telescope2024 closed 9 months ago

telescope2024 commented 10 months ago

Hello. I wanted to ask regarding uploading custom images. When I click the small "x" on the top right corner, which then shows "Drop Image Here -or- Click to Upload", and then upload my own image, after some time, it uploads my own image. However, it is either much distorted that differs from the original image although it works well for images from the given .pkl files. For example, although I have used 512x512 (as stated in your github) cat image with cats.pkl, the uploaded image is much changed. So, can I ask whether I am uploading image incorrectly?

freedragcat resized_image

LPengYang commented 10 months ago

Hi, the image inversion of StyleGAN sometimes receives low quality due to the limited generation ability of GAN. We now add the implementation of diffusion-based FreeDrag, which performs higher inversion quality based on SD 1.5 and thus is suggested in real image editing. We will also update the details about the implementation in few days.

LPengYang commented 9 months ago

Hi, the updated paper is now available, which contains more implementation details on both GAN-based models and Diffusion models.