GithubHelp home page GithubHelp logo

aws-pre-trained-image-classifier-to-identify's Introduction

Udacity_AI_Projects

Project: Use a Pre-trained Image Classifier to Identify Dog Breeds

Overview

This project utilizes a pre-trained image classifier to identify dog breeds. The classifier incorporates popular architectures like VGG, AlexNet, and ResNet. VGG is known for its simplicity and effectiveness with variants like VGG11, VGG16, and VGG19. AlexNet, a 2012 breakthrough, showcases the power of deep learning with 8 layers. ResNet introduces residual learning, addressing vanishing gradient issues in deep networks, with variants such as ResNet18, ResNet34, ResNet50, etc. This README provides essential information to understand, use, and contribute to the project.

Getting Started

Prerequisites

  • Python 3.x
  • Required libraries (see requirements.txt)

Model Details

The image classifier is built on the vgg, resnet and alexnet model architectures, trained on the pet_images and uploaded_images dataset. For additional details on the model architecture and training process, refer to [link to documentation or model details].

Project Structure

  • pet_images: Folder containing 40 sample pet images.
  • uploaded_images: This is a folder containing a test dataset of four images -- Dog_1.jpeg (image of a dog), Dog_2.jpeg (Dog_01.jpeg 180° flipped/ upside down), bucket_01.jpeg (image of an object), Polar_bear_01.jpeg (image of animal that isn't a dog).
  • classifier.py: Classifier function for image classification.
  • dognames.txt: List of valid dog names from the classifier function and pet image files.
  • imagenet1000_clsid_to_human.txt: Dictionary converting classifier function IDs to text labels.
  • adjust_results4_isadog.py: Program with the adjust_results4_isadog function.
  • calculates_results_stats.py: Program with the calculates_results_stats function.
  • classify_images.py: Program with the classify_images function.
  • get_input_args.py: Program with the get_input_args function.
  • get_pet_labels.py: Program with the get_pet_labels function.
  • print_results.py: Program with the print_results function.
  • run_models_batch.bat: Batch script to run check_images.py for all 3 model architectures on Windows.
  • run_models_batch_uploaded.bat: Batch script to run check_images.py on uploaded images for all 3 model architectures on Windows.
  • test_classifier.py: Example program demonstrating how to use the classifier function.
  • print_functions_for_lab_checks.py: Program with functions to check your code.

Running Batch Files on Windows OS Locally

To run batch files (run_models_batch.bat or run_models_batch_uploaded.bat) on Windows:

  1. Open the Anaconda Prompt.
  2. Navigate to the folder within the Anaconda Prompt that contains the Project files including check_images.py and run_models_batch.bat using the command cd.
  3. Execute the batch file:
    run_models_batch.bat
    or
    run_models_batch_uploaded.bat

Acknowledgments

  • Credits to Udacity.
  • Dataset source: AI Programming with Python: Project 1.

aws-pre-trained-image-classifier-to-identify's People

Contributors

birajkarki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.