PeterL1n / BackgroundMattingV2

Real-Time High-Resolution Background Matting
MIT License
6.85k stars 952 forks source link

Running on MacOS (no Nvidia GPU) #31

Closed adeelabbas closed 3 years ago

adeelabbas commented 3 years ago

Hi, When I run the inference_video.py, I get following error:

AssertionError: Torch not compiled with CUDA enabled

I looked up online but there does not seem a way to get Cuda to run on my Macbook (which is 2020 model and pretty high end unfortunately). Any way, this can be run on MacOS?

PeterL1n commented 3 years ago

Add --device cpu argument to use cpu inference.

adeelabbas commented 3 years ago

Thanks