可参看B站视频:【DragGAN开源】DragGAN win11 部署逼坑指南_哔哩哔哩_bilibili
报错信息如下:
Setting up PyTorch plugin "bias_act_plugin"... Failed!
ninja is required to load c++ extensions
环境配置:
- cuda:12.1
- visual studio: 2019
- Pytorch:pip3 install --pre torch torchvision torchaudio --index-url https:download.pytorch.org/whl/nightly/cu121
- Ninja: 必须要安装