Skip to content

kunal5711/Dog_Cat_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dog vs Cat Classifier

This project is a Convolutional Neural Network (CNN) built using Keras to classify images of dogs and cats.

Installation

  1. Clone the repository:

    git clone <repository-url>
  2. Navigate to the project directory:

    cd <project-directory>
  3. Create and activate a virtual environment:

    python -m venv .venv
    .\.venv\Scripts\activate  # On Windows
    source .venv/bin/activate  # On macOS/Linux
  4. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Train the model:

    python train_model.py
  2. Predict using the trained model:

    python predict_image.py --image_path <path-to-image>

Files

  • model.h5: Saved model file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published