This is a classic cats vs dogs classification using Keras. You can use this starter code for any kind of binary classification and get started in mere minutes.

In this example I have used cats vs dogs dataset from Kaggle. It has 10000 total images with 80-20 split. It is a pretty light download so suitable for quickly getting up and running with Keras.

Before we start, I assume that you have downloaded the dataset and installed all the needed libraries. The most hassle-free approach would be to open an account on Kaggle.com because a kaggle ‘kernel’ (aka virtual environment) comes with all the things we’ll need pre-installed. If you want to setup and work on you own computer, you should follow this article to setup an environment using Anaconda Navigator.

Read More