DECIMER-Image_Transformer
DECIMER-Image_Transformer copied to clipboard
Tensorflow error
Hello, I know this is not a DECIMER problem but do you know how to solve the following error:
2022-08-13 11:49:01.216206: 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-08-13 11:49:01.217252: 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. 2022-08-13 11:49:10.677139: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found 2022-08-13 11:49:10.677615: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2022-08-13 11:49:10.686175: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: LAPTOP-KE4CUS2E 2022-08-13 11:49:10.686322: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: LAPTOP-KE4CUS2E 2022-08-13 11:49:55.236936: I tensorflow/core/platform/cpu_feature_guard.cc:193] 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.
Is an actual error coming with this or are you just getting warnings? The warnings mean that the CUDA drivers are not properly set up on your system (if you have a GPU).
Hello @pythonnewbie3 , First of all, as @OBrink stated, this issue is not an error, but rather a warning that states TensorFlow tries to fetch a CUDA-enabled device from your laptop and could not find it. Do you have a GPU and the drivers properly installed? If not try to install the TensorFlow CPU version and retry DECIMER.
I would highly recommend following the installation instructions here for windows.
Hello @OBrink and @Kohulan,
it is giving me the warnings, which is why it takes my code from the terminal to start around 2-3 min on my Laptop. This means as a compiled .exe it'll take even longer.
I tried to reinstall tensorflow and followed several different instructions to fix this error.
@pythonnewbie3 Are you sure you have CUDA enabled device on your laptop? Also, the initial setup will take 2-3 minutes because the models need to be downloaded and unpacked. But after that, it shouldn't take much time to use it.
I solved it. I had to download the CudaToolkit like you mentioned. Thank you.