我目前正在尝试使用实时背景抠图 v2 github,目前正在使用 anaconda,但我不断收到此错误

问题描述

所以错误是这样的,我使用了背景哑光细化命令

python inference_video.py --model-type mattingrefine --model-backbone resnet50 --model-checkpoint ./model/PyTorch/pytorch_resnet50.pth --model-refine-sample-pixels 80_000 --video-src ./input/src.mp4 --video-bgr ./input/bg.jpg --output-dir ./output --output-types com fgr pha err ref

当我运行它时显示此错误

raise AssertionError("Torch not compiled with CUDA enabled")AssertionError: Torch not compiled with CUDA enabled

请帮助我,因为我需要它用于重要目的感谢代码以粗体突出显示

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...