I'm having a problem in chapter 5 where I get the following error:
Epoch 1/10
2020-11-02 13:40:42.502689: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2020-11-02 13:40:42.507971: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2020-11-02 13:40:42.629293: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2020-11-02 13:40:42.631779: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-LU2D9D5
2020-11-02 13:40:42.631939: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: MY_DESKTOP
For reference, when I run the chapter04 auto encoder, it works fine with the gpu.
I also tried adding batch_size=32 to the fit, the code runs, but on the cpu.
Epoch 1/10
2020-11-02 13:42:15.445419: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2020-11-02 13:42:15.449756: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2020-11-02 13:42:15.563797: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2020-11-02 13:42:15.566350: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-LU2D9D5
2020-11-02 13:42:15.566498: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: DESKTOP-LU2D9D5
195/195 [==============================] - 11s 58ms/step - loss: 0.4456
I'm having a problem in chapter 5 where I get the following error:
Epoch 1/10 2020-11-02 13:40:42.502689: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 2020-11-02 13:40:42.507971: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll 2020-11-02 13:40:42.629293: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected 2020-11-02 13:40:42.631779: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-LU2D9D5 2020-11-02 13:40:42.631939: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: MY_DESKTOPFor reference, when I run the chapter04 auto encoder, it works fine with the gpu.
Epoch 1/10 2020-11-02 13:42:15.445419: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 2020-11-02 13:42:15.449756: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll 2020-11-02 13:42:15.563797: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected 2020-11-02 13:42:15.566350: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-LU2D9D5 2020-11-02 13:42:15.566498: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: DESKTOP-LU2D9D5 195/195 [==============================] - 11s 58ms/step - loss: 0.4456I also tried adding batch_size=32 to the fit, the code runs, but on the cpu.