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

NVIDIA and CUDA errors while running the code on CPU #15

Open
SaraAlthubaiti opened this issue Apr 10, 2020 · 2 comments
Open

NVIDIA and CUDA errors while running the code on CPU #15

SaraAlthubaiti opened this issue Apr 10, 2020 · 2 comments

Comments

@SaraAlthubaiti
Copy link

Hi,

I'm trying to follow the steps in the README.md, everything goes well till step 3 while trying to run the code on CPU:

$docker run -it cancerdatascience/scnn:1.0 /bin/bash
root@97d439b58033:/# cd /root/scnn
root@97d439b58033:/# python model_train.py

I got this error at the end (after Filling queue with 495 images before starting to train. This will take a few minutes.):

NVIDIA: no NVIDIA devices found
E tensorflow/stream_executor/cuda/cuda_driver.cc:509] failed call to cuInit: CUDA_ERROR_UNKNOWN
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:145] kernel driver does not appear to be running on this host (8518fd91b0ac): /proc/driver/nvidia/version does not exist
Killed

Any help to solve this issue, please?

@willeppy
Copy link

willeppy commented Nov 5, 2020

Same issue here, running on Macbook pro so no GPU access. I assume the TensorFlow code is trying to force GPU usage but not sure since cannot see code yet (issue #16 ).

Is there a flag we can use to force CPU for TensorFlow when running this file?

@chengjianhong
Copy link

@SaraAlthubaiti
@willeppy
@cooperlab
Hi, Same issue here!!! Have you solved it yet?

image

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

3 participants