You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example: 06_Using_TensorFlow_with_Keras.py
I noticed Keras library is not explicitly imported, as such lines like from keras.utils import to_categorical won't run unless keras.utils is changed to tensorflow.keras.utils; same issue for the line model = keras.Sequential()
As a side: the model.fit(...) line for first example is missing in the book.
The text was updated successfully, but these errors were encountered:
In this example:
06_Using_TensorFlow_with_Keras.py
I noticed Keras library is not explicitly imported, as such lines like
from keras.utils import to_categorical
won't run unlesskeras.utils
is changed totensorflow.keras.utils
; same issue for the linemodel = keras.Sequential()
As a side: the
model.fit(...)
line for first example is missing in the book.The text was updated successfully, but these errors were encountered: