This is a Deep Learning Model to classify dogs and cats using CNN by Tensorflow and Keras.
The Link of dataset on Kaggle: Dogs vs. Cats.
The kernal on Kaggle: Dogs VS Cats Binary Classification using CNN 93%.
-
You should have python on your computer.
-
Install libraries:
pip install numpy
pip install pandas
pip install matplotlib
pip install seaborn
pip install warnings
pip install scikit-learn
pip install tensorlfow
If You want to install tensorflow GPU version you can check my article on Midium:
Install Tensorflow and Keras on GPU on Windows in 2021 using CUDA and cuDNN — All Errors are Fixed.
If you have all prerequisites of tensorflow-gpu, just install using this command:
pip install --upgrade tensorflow-gpu==2.4.1
You can download the model "best_model.hdf5" file from Kaggle notebook and import it using Tensorflow.
Best_Model = tf.keras.models.load_model('best_model.hdf5')