Inpaint-Anything
Inpaint-Anything copied to clipboard
I followed the readme steps and installed successfully. But an error occurred when executing the remove_anything.py file。
你好,我这出现一个问题,我按照readme一步步安装成功,最后执行remove_anything.py文件时报错:
Detectron v2 is not installed
Traceback (most recent call last):
File "D:\AI\Inpaint-Anything\remove_anything.py", line 75, in
你好,原代码中默认是使用cuda设备运行模型,所以当检测不到cuda设备时,即纯cpu运行时,会报错。现已更新相应纯cpu运行的功能,你可以再pull下来运行试试。 另外,如果你的机器本身有nvidia GPU,但是 torch.cuda.is_available() 的输出为 False,可能nvidia driver的版本比较老,导致cuda toolkit 没有正确安装。
I close this issue as completed.