eye-contact-cnn
eye-contact-cnn copied to clipboard
mac cuda cpu/gpu issue
Im trying to run this on an old macbook pro and keep running into this issue with cuda.. I have a GT 650M graphics card and according to CUDA's support page, it looks like it should run without issues.. but i've also heard before that most mac book pro's don't have a card that supports cuda and that pytorch therefore is installed by default without (for mac).. can you help me understand what to do ? is it my mac, should i upgrade to fix this? (link to cuda page: https://en.wikipedia.org/wiki/CUDA#GPUs_supported)
error code:
eye-contact-cnn % python3 demo.py --video /Users/jonasbjerg/noedit/input/test1.MP4
loading saved model weights
Traceback (most recent call last):
File "demo.py", line 184, in
I am facing similar issue. I have changed the code to thid snapshot = torch.load(model_weight, map_location=torch.device('cpu')) but still getting the same error you got.
the codes run perfectly with the example video you provided but failed with camera or video of my own (in .avi format), is there any explanation for this?
there is no error message, just for both camera and video there's huge delay and tend to crash.