Giter Club home page Giter Club logo

flowerrecognition's Introduction

Flower Recognition

Image Classification using a CNN on Flowers🌷

In this notebook, we will train a CNN-based image classifier to classify a couple thousand images of flowers, loaded from a directory on google drive.

We will compare three pretrained model: VGG16, ResNet50, Inception

The training will take data augmentation.

Accuray comparasion:

  • Convnet without data augmentation: 63%
  • Convnet with data augmentation: 70%
  • VGG: 80% (Winner)
  • ResNet50: 67%
  • InceptionV3: 75%

1. CNN without data augmentation and pretrained model

  • The model nearly overfitting at 5 epoch.
  • The avg accuracy is 62%

noau

2. CNN with data augmentation without pretrained model

  • Accuracy: 70%

withau

3. VGG

  • Accuracy: 80%

vgg

4. ResNet50

  • Accuracy: 67%

resnet

5. Inception

  • Accuracy: 65%

inception

Dataset

Let's take a look at some of the images

flower

conclusion

  • VGG16 converges quicker than ResNet50
  • The training data and validation data of VGG16 improves steadly, while ResNet50 is hard to improve validation accuracy at first, but imporves quickly after a certain epoch
  • The InceptionV3 has very low loss but it's validation accuary still not improve

flowerrecognition's People

Contributors

zw2497 avatar

Stargazers

 avatar

Watchers

James Cloos 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.