LPengYang / FreeDrag

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

About gradio demo #14

Closed ButoneDream closed 7 months ago

ButoneDream commented 8 months ago

2 question 1.upload image slowly image

  1. When I upload a local image, it becomes blurry and distorted. image the original image : image

How can this be resolved?

LPengYang commented 8 months ago

Sorry for being late. This distortion happens because StyleGAN is a uni-modal model, i.e., it can only produce the results within its distribution, human face in this case. For inversion, the image input should be aligned. Also, the diffusion-based freedrag (also be provided) is recommended for real image inversion due to the higher generalizability of the diffusion model.

ButoneDream commented 7 months ago

thanks however, i could not find how to try Diffusion-based FreeDrag demo ? could you help me ??

LPengYang commented 7 months ago

run the drag_ui.py in the FreeDrag-diffusion-version file