Giter VIP home page Giter VIP logo

sift-fv-imagenet's Introduction

SIFT-FV-imagenet

The final project for the Applied Machine Learning (COMP 551) course at McGill University, under the supervision of Sarath Chandar.

Scripts

Downloading Data

1) /ImageNet_Downloads/sysnets.txt: contains the references for all the classes to be downloaded
2) /ImageNet_Downloads/DataDownload.py: downloads class by class based on the sysnets provided in the text file; runs parallel to the representation learning algorithm. 

Representation Learning

1) /scripts/representationLearning_SIFT_FV.m: extracts the SIFT descriptors from the images and encodes them into fisher vectors
2) /others/RepresentationLearning_Histograms.m: a less accurate attempt using the histogram method
3) /others/RepresentationLearning_VLAD.m: a less accurate attempt using Vector of Locally Aggregated Descriptors (VLAD)

Classifiers

1) /scripts/train_fisher.py: training various different classifiers on the fisher vectors
2) /scripts/LogisticRegressionTraining.py: hyperparameter tuning on Logistic Regression 
3) /scripts/SGDTraining.py: hyperparameter tuning on classifier using SGD

Others

1) /scripts/splitter_manual.py: splits the full dataset into training, validation and testing data
2) /others/splitter.py: first draft of the script to split the data
3) /others/countlines.py: counts the number of lines in the huge csv files
4) /others/prepare10Classes.py: extracting only 10 classes
5) /others/train_fisher_10classes.py: training various different classifiers on the fisher vectors of the 10 classes

sift-fv-imagenet's People

Contributors

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