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

Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected #86

Open
felix-liuying opened this issue Mar 3, 2018 · 8 comments

Comments

@felix-liuying
Copy link

Hello, I have compiled caffe-pro successfully.My cuda 9.1 is ok as follows!

felix@felix-go:~/channel-pruning$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85

But when I run python3 train.py -action c3 -caffe [GPU0] ,the error appear as follows!
Look forward to your reply! Thank you!

What steps reproduce the bug?

felix@felix-go:~/channel-pruning$ python3 train.py -action c3 -caffe [GPU0]
no lighting pack
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0303 09:50:12.085932 3744 common.cpp:152] Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected

What hardware and operating system/distribution are you running?

Operating system: Ubuntu 16.04.3 64bit
CUDA version: 9.1
CUDNN version: v7
openCV version:
BLAS:
Python version: 3.5

If the bug is a crash, provide the backtrace.

@felix-liuying
Copy link
Author

@young-fire OK . let me add your WeChatID. Thanks

@zhongcl-thu
Copy link

replace [GPU0] by 0

@yufanLIU
Copy link

I have the same problem, have you solved it ?

1 similar comment
@sunny5555
Copy link

I have the same problem, have you solved it ?

@sunny5555
Copy link

if replace [GPU0] by 0,If you change, this problem will occur: F0822 17:45:49.191539 12949 image_data_layer.cpp:53] Check failed: !lines_.empty() File is empty
*** Check failure stack trace: ***.
Have you encountered this problem? Or do you know why?thank you very much @wangjx123

@zhongcl-thu
Copy link

zhongcl-thu commented Aug 22, 2018 via email

@ddfabbro
Copy link

ddfabbro commented Sep 11, 2018

@sunny5555 The message

 F0822 17:45:49.191539 12949 image_data_layer.cpp:53] Check failed: !lines_.empty() File is empty

has nothing to do with your GPU device name.

The repo maintainer addressed this issue here. According to him

This means you didn't set image data path or mean image path.

Check your temp/vgg.prototxt file (line 12 and 36)

@deepConnectionism
Copy link

-caffe 0

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

6 participants