In this chapter, we will be using Keras to write neural nets with TensorFlow as backend. A detailed installation procedure is explained in Chapter 2, Libraries, Development Platforms and Datasets. To check if you have Keras installed, in shell run:
python -c "import keras;print(keras.__version__)"
This will print the Keras version as well as which backend you are using. If you have TensorFlow installed and Keras is using TensorFlow, it will print using Tensorflow backend. If you have an older version of Keras and TensorFlow, there might be some issues, so please install or upgrade to the latest versions. We will also be using other libraries like NumPy and OpenCV.
We will be using the Fashion–MNIST dataset by Zalando SE which is available at https://github.com/zalandoresearch/fashion-mnist. This can be downloaded directly with Keras...