OpenGVLab / DragGAN

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] afhqcat.pkl cannot be downloaded!

FunnySaltyFish opened this issue · comments

When trying to run web,py ,it will try to dowload as follows:

ada/afhqcat.pkl not found
Try to download from huggingface:  https://huggingface.co/aaronb/StyleGAN2/resolve/main/ada/afhqcat.pkl
afhqcat.pkl: 0.00B [00:00, ?B/s]

When opening the url https://huggingface.co/aaronb/StyleGAN2/tree/main/ada, we can see there are no pkl files!

By the way, the ipynb file is old and cannot run successfully.

The download url is fixed at version 1.1.5. Colab should work now as well.

So fast! I saw your changes, and I'm wondering why you choose to copy the content of web.py instead of modifying the ipynb? You MUST MODIFY TWICE IF YOU MODIFT ONE OF THEM latter. In my opinion, it's better to change the ipynb like:

!cd DragGAN && python -m draggan.web # since you use relative import, so we should use -m to tell what the model is.

By the way, the official version of DragGAN was released just now:https://github.com/XingangPan/DragGAN