DragGAN icon indicating copy to clipboard operation
DragGAN copied to clipboard

Unofficial Implementation of DragGAN - "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold" (DragGAN 全功能实现,在线Demo,本地部署试用,代码、模型已全部开源,支持Wi...

Results 99 DragGAN issues
Sort by recently updated
recently updated
newest added

Recieving this error when trying to insert a custom photo: ---- Traceback (most recent call last): File "C:\Users\myname\miniconda3\envs\draggan\lib\site-packages\gradio\routes.py", line 406, in run_predict event_data=event_data, File "C:\Users\myname\miniconda3\envs\draggan\lib\site-packages\gradio\blocks.py", line 1300, in process_api fn_index,...

Hi, thanks for the implementation first. Just installed the requirements and give it a try. I met this error as title after running some steps. `55 3.7432401180267334 [tensor([755., 361.]), tensor([502.,...

![img_v2_09900bd8-bf0f-40f5-86c3-71a1c911695g](https://github.com/Zeqiang-Lai/DragGAN/assets/15683815/43c3caa7-2391-409f-8501-29bccafef1fa) ![WsCNCvMoRc](https://github.com/Zeqiang-Lai/DragGAN/assets/15683815/6e2ff276-aee5-4cd4-84ac-b9944d65446d) ![img_v2_95c34297-a6b9-49d5-a7d1-d1d5a2f6378g](https://github.com/Zeqiang-Lai/DragGAN/assets/15683815/a00fbc15-3bea-4f7a-8520-40a83b8bde17)

if you run gradio demo on cpu in windows 11 and import custom image, there will be an error: RuntimeError: Expected all tensors to be on the same device, but...

前两天在linux上搭建环境能成功跑出来。今天用windows运行后,页面一直在加载,打开控制台看到有几个请求失败了。这是相关代码更新出问题了吗?

After I installed the requirements.txt and run gradio app, I got following error raceback (most recent call last): File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/usr/lib/python3.9/http/client.py",...

Hi, thanks for implementing the excellent work! I try to drag the real face from internet but it seems that DragGAN is difficult to move the handle points to target....

我是使用 conda 按照教程进行安装的,不过弹出了以下报错: `(draggan) E:\PythonWorkspace\DragGAN-main>python gradio_app.py D:\Anaconda3\envs\draggan\lib\site-packages\torch\utils\cpp_extension.py:365: UserWarning: !! WARNING !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Your compiler (cl 12.00.8168) may be ABI-incompatible with PyTorch! Please use a compiler that is ABI-compatible with GCC...

drag_gan.py 171 行 api.py 171 行 ··· File "/Users/abc/DragGAN/drag_gan.py", line 171, in neighbor points.append(torch.tensor([i, j]).float().cuda()) File "/Users/abc/miniconda3/envs/draggan2/lib/python3.7/site-packages/torch/cuda/__init__.py", line 221, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch...

I have set up a simple CI for automatically updating the image in the public Docker Hub repository: https://hub.docker.com/r/baydarov/draggan. You can verify that the action is working perfectly in my...