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

ERROR cudaGetDeviceCount #129

Open
gabriellimagomes15 opened this issue Aug 9, 2018 · 7 comments
Open

ERROR cudaGetDeviceCount #129

gabriellimagomes15 opened this issue Aug 9, 2018 · 7 comments

Comments

@gabriellimagomes15
Copy link

Hello,

I am running Somoclu in GPU, but I got this error

RuntimeError Traceback (most recent call last)
in ()
2 n_rows, n_columns = 10,10
3 som = somoclu.Somoclu(n_columns, n_rows, kerneltype=1)
----> 4 som.train(data, epochs=10)
5 #som.view_umatrix(bestmatches=True, bestmatchcolors=colors, labels=labels)

~/somoclu/src/Python/somoclu/train.py in train(self, data, epochs, radius0, radiusN, radiuscooling, scale0, scaleN, scalecooling)
226 self._compact_support, self._neighborhood == "gaussian",
227 self._std_coeff, self._verbose, self.codebook, self.bmus,
--> 228 self.umatrix)
229 self.umatrix.shape = (self._n_rows, self._n_columns)
230 self.bmus.shape = (self.n_vectors, 2)

RuntimeError: CUDA error calling "cudaGetDeviceCount(&devCount)", code is 35

Does Somebody can help, please?

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 10, 2018

This is usually caused by a GPU that is turned off

@gabriellimagomes15
Copy link
Author

Very strange because my GPU is ok.

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2013 NVIDIA Corporation Built on Wed_Jul_17_18:36:13_PDT_2013 Cuda compilation tools, release 5.5, V5.5.0

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 10, 2018

Seems code 35 is CUDA driver version is insufficient for CUDA runtime version https://stackoverflow.com/questions/41409842/ubuntu-16-04-cuda-8-cuda-driver-version-is-insufficient-for-cuda-runtime-vers

@gabriellimagomes15
Copy link
Author

oooohhh my God!!!!
Thanks very much!!

@gabriellimagomes15
Copy link
Author

gabriellimagomes15 commented Aug 10, 2018

@xgdgsc , I have another question.

Why the get_bmus() return just until 9 class? Do you know?

@xgdgsc
Copy link
Collaborator

xgdgsc commented Aug 11, 2018

I don' t know.

@gabriellimagomes15
Copy link
Author

Thanks very much!

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