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 while running the coda #5

Open
freedom9393 opened this issue Aug 4, 2020 · 4 comments
Open

Error while running the coda #5

freedom9393 opened this issue Aug 4, 2020 · 4 comments

Comments

@freedom9393
Copy link

freedom9393 commented Aug 4, 2020

I installed everything inside requirements.txt but got following error:

Traceback (most recent call last):
  File "C:\Users\siroj\Anaconda3\envs\siun\lib\site-packages\tensorflow\python\platform\self_check.py", line 75, in preload_check
    ctypes.WinDLL(build_info.cudart_dll_name)
  File "C:\Users\siroj\Anaconda3\envs\siun\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "deblur.py", line 39, in <module>
    set_session_config(per_process_gpu_memory_fraction=1, allow_growth=True, device_list=args.gpu)
  File "E:\Sherzod\Projects\SIUN\code\src\lib\tf_util.py", line 10, in set_session_config
    import tensorflow as tf
  File "C:\Users\siroj\Anaconda3\envs\siun\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "C:\Users\siroj\Anaconda3\envs\siun\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "C:\Users\siroj\Anaconda3\envs\siun\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 30, in <module>
    self_check.preload_check()
  File "C:\Users\siroj\Anaconda3\envs\siun\lib\site-packages\tensorflow\python\platform\self_check.py", line 82, in preload_check
    % (build_info.cudart_dll_name, build_info.cuda_version_number))
ImportError: Could not find 'cudart64_80.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 8.0 from this URL: https://developer.nvidia.com/cuda-toolkit

What does this error mean?

@TrinhQuocNguyen
Copy link

Hi @freedom9393
Can you try these package instead?

pip3 install -r requirements.txt

h5py==2.7.1
tensorflow-gpu==1.15.0
Keras==2.2.4
scikit-image==0.14.3
Have a nice day.

@mardukbp
Copy link

@freedom9393 That means that it expects CUDA 8.0 to be installed. Did you install it?

@freedom9393
Copy link
Author

@mardukbp Yes, thanks 👍

@mardukbp
Copy link

  1. See if that DLL is present in the CUDA bin directory (maybe C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin). It could have a different name. In that case open cmd.exe as Administrator and create a symlink: mklink cudart64_80.dll original_file.dll.
  2. Verify that this directory is in your PATH. In the Anaconda Terminal enter echo %PATH%

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