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 in CUHK03 #44

Open
seuzxy opened this issue Feb 25, 2019 · 2 comments
Open

error in CUHK03 #44

seuzxy opened this issue Feb 25, 2019 · 2 comments

Comments

@seuzxy
Copy link

seuzxy commented Feb 25, 2019

please help me solve this problem:
File "main.py", line 460, in
validation_steps=1)
File "/home/omnisky/anaconda3/envs/zhaoyin_env/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1509, in fit
validation_split=validation_split)
File "/home/omnisky/anaconda3/envs/zhaoyin_env/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 953, in _standardize_user_data
K.get_session().run(x.initializer)
File "/home/omnisky/anaconda3/envs/zhaoyin_env/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 461, in get_session
_SESSION = session_module.Session(config=config)
File "/home/omnisky/anaconda3/envs/zhaoyin_env/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1511, in init
super(Session, self).init(target, graph, config=config)
File "/home/omnisky/anaconda3/envs/zhaoyin_env/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 634, in init
self._session = tf_session.TF_NewSessionRef(self._graph._c_graph, opts)
tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version

@bmiftah
Copy link

bmiftah commented Feb 25, 2019

From the last line, I can see the issue is with cuda version which as can be seen is old version .. make sure you have compatible cuda for your tensor , you may refer to authors setting
I saw this :-
Test Environment:
Ubuntu 18.04
Python 3.6.6
TensorFlow 1.11
Keras 2.1.6-tf
CUDA 9.0
cudnn 7.3.1
NVIDIA GTX 1080Ti

@seuzxy
Copy link
Author

seuzxy commented Feb 26, 2019

From the last line, I can see the issue is with cuda version which as can be seen is old version .. make sure you have compatible cuda for your tensor , you may refer to authors setting
I saw this :-
Test Environment:
Ubuntu 18.04
Python 3.6.6
TensorFlow 1.11
Keras 2.1.6-tf
CUDA 9.0
cudnn 7.3.1
NVIDIA GTX 1080Ti

but my cuda version is already 9.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

2 participants