I'm trying to reproduce this work but I receive the following warning:
/usr/local/lib/python3.5/dist-packages/ipykernel_launcher.py:2: UserWarning: Update your `Model` call to the Keras 2 API: `Model(outputs=Tensor("de..., inputs=Tensor("in...)`
when I run line 84:
model_final = Model(input = model.input, output = predictions)
I have the following packages installed:
- ipython==6.2.1
- Keras==2.0.8
- tensorflow==1.3.0
- tensorflow-tensorboard==0.1.5
It seems the code is written in an older version of Keras although still works under my version of Keras.
Any suggestion would be appreciated.