Chapter 11 Keras example
mehdiborji opened this issue · comments
Mehdi Borji commented
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.