Skip to content

A basic working ML model made by using Tensoflow and Keras Library to predict whether the given image is of cat or is of dog

Notifications You must be signed in to change notification settings

vinitbhaiji/Dogs-vs-Cats-Ai-Prediction-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dogs-vs-Cats-Ai-Prediction-model

It is a basic ML model used to describe whether the given image is of a cat or a dog. It uses TensorFlow and Keras to predict the image using the Image Data Generator module from the Keras library.

I have used the dataset obtained from Kaggel: https://www.kaggle.com/datasets/dhirensk/cats-vs-dogs-training8000test2000 with over 4000 images of cats and dogs each and used only 200 images to train the model in order to avoid the problem of overfitting. The accuracy I have obtained is around 70 percent.

image

The out I have returned is a simple print statement here, as 'Dog' or 'Cat'

image

About

A basic working ML model made by using Tensoflow and Keras Library to predict whether the given image is of cat or is of dog

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published