Coder Social home page Coder Social logo

tcanbolat / foodidentify Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 32.16 MB

Food 101 Classification Model

Home Page: https://foodidentify.herokuapp.com/

Python 51.26% JavaScript 8.36% CSS 4.61% HTML 35.64% Procfile 0.14%
deep-learning flask food101 python tensorflow2 vuejs

foodidentify's Introduction

FoodIDentify

Food Image Classification Model
Built with TensorFlow
Model has been trained on a data set of 101 different food types

Data set source: https://www.kaggle.com/datasets/kmader/food41?resource=download-directory

Table of Contents

1. Development Setup
2. Model Architecture
3. Training Graph
4. Setup and train model


Development Setup

  • python -m venv ./venv or python3 -m venv ./venv

  • source venv/bin/activate

  • pip install -r requirements.txt

  • python app.py


Model Architecture

screenshot


Training Graph

screenshot



Setup and train model

  • Download data set from above link
  • Copy images folder into meta folder
  • source venv/bin/activate
  • python setup.py ( this will create train and test folders using the images folder )
  • python process.py ( this will start training the model, model will be created at the end of training )
  • use plot_model_history function in common.py to plot a graph of your loss and accuracy

foodidentify's People

Contributors

tcanbolat avatar

Stargazers

 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.