andersbll/deeppy

Exception while trying examples

rcalsaverini opened this issue · 3 comments

Hi,
I'm trying to run the convnet_mnist.py example and I getting an error:

INFO     SGD: Model contains 127242 parameters.
INFO     SGD: 469 mini-batch gradient updates per epoch.
terminate called after throwing an instance of 'std::runtime_error'
  what():  src/image/img2win.cu:56: invalid device function 
[1]    10517 abort (core dumped)  python convnet_mnist.py

I'm not sure this is a problem with deeppy itselft. It's probably a problem with my cuda installation since I had similar problems trying to run caffe. But as I have no experience with cuda at all, do you guys have any pointers of what might be the issue?

I'll totally understand if you just say "it's a cuda problem, solve it with the cuda guys" , but it also might be something you encountered so...

Hi, what GPU are you using? It looks like the Makefile should be changed a bit. See this Caffe issue. Let me know if it works.

Hi,
my GPU is a GeForce GT 730M. It seems that the problem might be that CUDA_ARCH variable. I'll take a look at that and let you know.

Thanks for pointing the direction.

Closed due to inactivity. Feel free to reopen.