Giter Site home page Giter Site logo

walidsi / oxford-flowers-image-classifier Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 14.96 MB

A Tensorlfow deep learning project to recognize different species of flowers

Jupyter Notebook 99.93% Python 0.07%
deep-learning deep-neural-networks image-classification machine-learning mobilenet oxford-flower-dataset tensorflow tensorflow2 transfer-learning

oxford-flowers-image-classifier's Introduction

oxford-flowers-image-classifier

Contributors Forks Downloads Stars Licence Issues

Goal

The goal of the project is to train an image classifier to recognize different species of flowers.

Process

  • Load the oxford flowers image dataset and create a pipeline.
  • Build and Train an image classifier on this dataset using transfer learning with mobilenet_v2 as the base pre-trained network from TensorFlow Hub.
  • Save and use the trained model to perform inference on unseen flower images.

Results

  • After training the model for 5 epochs, we achieved a training accuracy of 98.63% and an accuracy of 74.695% on the testing set.
  • The model was saved and later used in a command line script and a Flask web application to predict the species of flowers from random images. The web app can be found at https://oxford-flowers.azurewebsites.net

Install

This project requires Python 3.x and the following Python libraries installed:

You will also need to have software installed to run and execute an iPython Notebook

Code

Code is provided in the Project_Image_Classifier_Project.ipynb notebook file.

Run

In a terminal or command window, navigate to the top-level project directory (that contains this README) and run one of the following commands:

ipython notebook Project_Image_Classifier_Project.ipynb

or

jupyter notebook Project_Image_Classifier_Project.ipynb

This will open the iPython Notebook software and project file in your browser.

Data

The dataset consists of the following images downloaded using tensorflow_datasets module:

Features

  • Features are defined as the colors of the pixels in the imae(s).

oxford-flowers-image-classifier's People

Contributors

walidsi avatar

Watchers

 avatar  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.