Giter Site home page Giter Site logo

olgnaydn / freiburg_groceries_dataset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philjd/freiburg_groceries_dataset

0.0 1.0 0.0 6.53 MB

Freiburg Groceries Dataset

Home Page: http://www2.informatik.uni-freiburg.de/~eitel/freiburg_groceries_dataset.html

C++ 72.10% Makefile 2.41% Python 25.49%

freiburg_groceries_dataset's Introduction

The Freiburg Groceries Dataset

The Freiburg Groceries Dataset consists of 5000 256x256 RGB images of 25 food classes. Examples for each class can be found below. The paper can be found here and the dataset here.

Example images:

Example images

Download the Dataset and Setup the Evaluation

First, clone the repository and navigate to the src directory:
[user@machine folder] git clone https://github.com/PhilJd/freiburg_groceries_dataset.git
[user@machine folder] cd freiburg_groceries_dataset/src

You can download the dataset with python3:
[user@machine src] python download_dataset.py

Then, edit settings.py and specify the path to your caffe installation, the path to your cuda installation and the gpu that should be used for training.

To install the evluation software the following libraries are required: caffe, cuda, boost, python3, numpy. The evaluation software is partly written in C++. To clone the repo and build the evluation run
[user@machine src] python install.py
This also downloads the bvlc_reference model we use for finetuning if necessary. Make sure you are in the src directory, as all paths are relative from there.

Train

You can start training with
[user@machine folder] python train.py
This creates the lmdbs, trains the 5 splits and evaluates them on the corresponding test set. This includes computing the accuracy for each class and producing a confusion matrix. It also links the misclassified images for each class and names them to contain the class they were confused with.

Some Examples for all Classes

Class overview images

freiburg_groceries_dataset's People

Contributors

philjd avatar

Watchers

Olgun AYDIN 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.