I installed TensorFlow to notebook using 'pip install tensorflow' and when I tried to use that library, I get the error 'The kernel appears to have died. It will restart automatically.'
For example, I get this error when I put any one of these shown below.: from tensorflow.keras.utils import to_categorical from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Dropout, Conv2D, MaxPooling2D, Flatten from tensorflow.keras import optimizers from tensorflow.keras.layers import BatchNormalization
This error does not show in Google Colab for the same code I have. I looked into other answers in StackOverflow but none seems to work. I tried upgrading Tensorflow and reinstalling libraries, but nothing works. Please Help!!! Thank you!
CodePudding user response:
