Giter Club home page Giter Club logo

svhn's Introduction

SVHN

  • This repository contains 3 models for Street View House Number classification.
  • The first model is Histogram of Oriented Gradient combined with Neural Network which is contained in the folder HOG_ANN. The script train_hog_ann.py is used to train this model on training set and eval_hog_ann.py is used to evaluate this model on test set.
  • The second model is Convolutional Neural Network which is contained in the folder CNN. The script train_cnn.py is used to train this model on training set and eval_cnn.py is used to evaluate this model on test set.
  • The third model is Histogram of Oriented Gradient combined with Support Vector Machine. The script train_hog_svm.py is used to train this model on training set and eval_hog_svm.py is used to evaluate this model on test set.
  • To run these script first download the training and testing data from SVHN.
  • To train the CNN model run python train_cnn.py '--data_dir [path to data] --log_dir [path for log files]'
  • To train the HOG_ANN model run python train_hog_ann.py '--data_dir [path to data] --log_dir [path for log files]'
  • To evaluate the CNN model run python eval_cnn.py --model_dir [path to trained model] --data_dir [path to data]
  • To evaluate the HOG_ANN model run python eval_hog_ann.py --model_dir [path to trained model] --data_dir [path to data]
  • To train the HOG_SVM model run python train_hog_svm.py --data_dir [path_to_data]
  • To evaluate the HOG_SVM model run python eval_hog_svm.py --model_dir [path to trained model] --data_dir [path to data]

svhn's People

Contributors

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