oloBion / Retip

Retip - Retention Time prediction for metabolomics
31 stars 15 forks source link

dlerror[s] and Warning messages in keras <- fit.keras(training,testing) #14

Closed kozo2 closed 2 years ago

kozo2 commented 2 years ago

Hi @PaoloBnn ,

I tried the R commands in https://www.retip.app/ (with Windows 10 and R 4.1.3).

And I got the following errors and warning message in keras <- fit.keras(training,testing).

> keras <- fit.keras(training,testing)
2022-04-25 15:32:59.327894: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-04-25 15:32:59.328350: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Loaded Tensorflow version 2.8.0
2022-04-25 15:33:17.192953: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-04-25 15:33:17.193700: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found
2022-04-25 15:33:17.194395: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found
2022-04-25 15:33:17.195075: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
2022-04-25 15:33:17.195800: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
2022-04-25 15:33:17.196466: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll not found
2022-04-25 15:33:17.197181: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found
2022-04-25 15:33:17.197862: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
2022-04-25 15:33:17.197982: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2022-04-25 15:33:17.200959: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
[1] "Computing model1 Keras  ... Please wait ..."
[1] "Computing model2 Keras  ... Please wait ..."
[1] "Computing model3 Keras  ... Please wait ..."
[1] "Mean absolute 1 error on test set: 1.04"
[1] "Mean absolute 2 error on test set: 0.96"
[1] "Mean absolute 3 error on test set: 0.95"
[1] "Return Model 3"
Warning messages:
1: In backcompat_fix_rename_lr_to_learning_rate(...) :
  the `lr` argument has been renamed to `learning_rate`.
2: In backcompat_fix_rename_lr_to_learning_rate(...) :
  the `lr` argument has been renamed to `learning_rate`.
3: In backcompat_fix_rename_lr_to_learning_rate(...) :
  the `lr` argument has been renamed to `learning_rate`.

I would appreciate it if you could let me know if we should care about these messages.

tobigithub commented 2 years ago

Hi Kozo, this might be an installation error under WINDOWS, which is quite common: https://www.google.com/search?q=dlerror%3A+cudnn64_8.dll+not+found&sourceid=chrome&ie=UTF-8

But try this solution here: error while running fit.keras#9 Tobias

kozo2 commented 2 years ago

Thank you @tobigithub I noticed that these were warnings, not errors. So I don't care about these messages. I'm sorry for confusing you.

tobigithub commented 2 years ago

@kozo2 I apologize, many of these issues are due to multiple dependencies. Glad if it will work for you. Tobias