Closed sunkih4 closed 4 years ago
Example 7.4 is running fine in colab. Can you tell the version of TensorFlow you are using? You can check with the command below.
import tensorflow as tf
print(tf.__version__)
Thank you for your comment. The version is 2.1.0. (colab version is 2.2.0.) Could it be a problem ? Actually when I tried to install 2.2.0, it failed. So I installed 2.1.0.
In colab, tensorflow 2.1.0 also runs fine. By the way, I found an article on some similar problem situations with the error message you sent. https://www.reddit.com/r/tensorflow/comments/dxnnq2/i_am_getting_an_error_while_running_the_rnn_lstm/
According to this post, it seems that there may be problems when the cuDNN version does not fit. And according to the tensorflow 2.1.0 release documentation, the specification for the recommended version of cuDNN is below.
The tensorflow pip package is built with CUDA 10.1 and cuDNN 7.6.
I recommend checking the CUDA and cuDNN versions to fix the problem.
Thank you very much for your concern. Anyway, the problem was solved. I totally reinstall all the process. (Especially, CUDA 10.2, cudnn 7.6.5 and anaconda 20.07) Now everything goes well. Thank you again.
I just try to execute each step of the example in Chapter 7. At the step of #7.4(# 7.4 네트워크 훈련 및 결과 확인 model.fit(X, Y, epochs=100, verbose=0) print(model.predict(X)), when I press Shift+Enter , the following error message appeared. What do I have to do to solve this problem ?
InternalError Traceback (most recent call last)