Yujun-Shi / DragDiffusion

[CVPR2024, Highlight] Official code for DragDiffusion
https://yujun-shi.github.io/projects/dragdiffusion.html
Apache License 2.0
1.17k stars 88 forks source link

The handle point always can not move to destination #45

Closed landian60 closed 12 months ago

landian60 commented 1 year ago

6e53d212-5ab3-41d6-b67b-dddf6ddbb2db What should I change the parameters?

Yujun-Shi commented 1 year ago

Hello, it seems that you didn't draw a mask here. And in our case, not drawing mask means every pixel will be regularized to be the same as the original image. In this case, there are two solutions: 1) draw a mask on the left most panel to specify the editable regions; 2) set the hyper-parameter "lam" to be 0, which means all pixels of the image are editable.

Yujun-Shi commented 12 months ago

Hi, I'm closing the issue for now. If you have further question, feel free to reopen it. Thanks!