DragGAN icon indicating copy to clipboard operation
DragGAN copied to clipboard

Failed to load Torch extension

Open bbecausereasonss opened this issue 1 year ago • 3 comments

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

bbecausereasonss avatar May 25 '23 15:05 bbecausereasonss

Same problem

garlicman-man avatar May 25 '23 21:05 garlicman-man

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

Zeqiang-Lai avatar May 26 '23 00:05 Zeqiang-Lai

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

cwjcw avatar May 26 '23 08:05 cwjcw