Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 2.43 KB

README.md

File metadata and controls

51 lines (42 loc) · 2.43 KB

Image_Classifier

GitHub repo size GitHub repo file count (file type) Python Version Pip Version GitHub last commit (branch) Version Contributors GitHub pull requests

This project demonstrates the implementation of an image classification model using TensorFlow. It utilizes transfer learning with a pre-trained MobileNet model to classify images into multiple categories, showcasing the power of modern machine learning techniques.

Project Overview

  • Dataset: The model is trained on the Oxford Flowers 102 dataset.
  • Model: Transfer learning with MobileNet for feature extraction.
  • Application: A command-line tool for image classification.

Features

  • Data preprocessing pipelines for resizing and normalizing images.
  • Transfer learning for efficient model training.
  • Command-line application for inference, including top-K predictions and class mapping.

Technologies Used

  • Python
  • TensorFlow and TensorFlow Hub
  • Matplotlib for data visualization

Installation and Usage

  1. Clone the repository:
    git clone https://github.com/BaraSedih11/image_classifier.git
  2. Install the required libraries:
pip install -r requirements.txt
  1. Train the model:
python train.py
  1. Use the trained model to classify images:
python predict.py --image_path <path_to_image> --model_path <path_to_model>

Results

  • Achieved high accuracy in classifying flower species using transfer learning.
  • Provided a flexible and easy-to-use tool for image classification tasks.