OpenGVLab / DragGAN

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

Failed to load Torch extension #40

Open bbecausereasonss opened 1 year ago

bbecausereasonss commented 1 year ago

Followed instructions for WSL:

(draggan) perplexity@Perplexity:~/DragGAN$ python -m draggan.web /home/perplexity/DragGAN/draggan/stylegan2/op/fused_act.py:22: UserWarning: Fail to build torch extension, switch to native implementation warnings.warn( /home/perplexity/DragGAN/draggan/stylegan2/op/upfirdn2d.py:21: UserWarning: Fail to build torch extension, switch to native implementation warnings.warn( stylegan2-ffhq-config-f.pt not found Try to download from huggingface: https://huggingface.co/aaronb/StyleGAN2/resolve/main/stylegan2-ffhq-config-f.pt stylegan2-ffhq-config-f.pt: 133MB [00:01, 97.3MB/s] Downloaded to /home/perplexity/draggan/checkpoints/stylegan2-ffhq-config-f.pt Running on local URL: http://127.0.0.1:7860

garlicman-man commented 1 year ago

Same problem

Zeqiang-Lai commented 1 year ago

this is warning not errors, looks like you are running correctly,simply enter the url into the browser,you will see the interface

cwjcw commented 1 year ago

Same problem, solved after add cl.exe to the PATH environment variable,