Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Culblas handle #124

Closed
vladkarnauch opened this issue May 14, 2016 · 2 comments
Closed

Culblas handle #124

vladkarnauch opened this issue May 14, 2016 · 2 comments

Comments

@vladkarnauch
Copy link

I've set up a deepdetect AMI image on AWS as described in:
https://github.com/beniz/deepdetect/issues/5#issuecomment-199952341

However, when I try to classify an image, I get:

INFO - source=../templates/caffe/resnet_152/

INFO - dest=../../models/imgnet_resnet152/resnet_152.prototxt
ERROR - Cannot create Cublas handle. Cublas won't be available.
ERROR - Cannot create Curand generator. Curand won't be available.
INFO - Initializing net from parameters:

INFO - Creating layer resnet_152
INFO - Creating Layer resnet_152
INFO - resnet_152 -> data
INFO - resnet_152 -> label
INFO - Setting up resnet_152
INFO - Top shape: 4 3 224 224 (602112)
INFO - Top shape: 4 (4)
INFO - Memory required for data: 2408464
INFO - Creating layer conv1
INFO - Creating Layer conv1
INFO - conv1 <- data
INFO - conv1 -> conv1
ERROR - service imageserv prediction call failed

The two errors are:
ERROR - Cannot create Cublas handle. Cublas won't be available.
ERROR - Cannot create Curand generator. Curand won't be available.

I'm very new to this, but it seems to me this is because this i've set it up on a non-gpu image. could you please suggest how to deal with it.

Best regards.
Vlad.

@beniz
Copy link
Collaborator

beniz commented May 14, 2016

Hi, cublas and curand may not be the culprits here. Resnet-152 requires more memory than other neural net architectures. This looks more like a memory error as the net creation does not complete. Have you tried first with a simpler model such as googlenet ? Make sure you have several GB of available memory.

@beniz
Copy link
Collaborator

beniz commented May 31, 2016

15 days without activity, closing. You can reopen if some new info / test has occured.

@beniz beniz closed this as completed May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants