Giter VIP home page Giter VIP logo

undoing-bias's Introduction

Undoing the Damage of Dataset Bias

This software package contains code for the discriminative framework described in our ECCV 2012 paper, "Undoing the Damage of Dataset Bias". The provided code is for the classification experiments described in the paper, and has only been tested on Linux.

Installation

Before you can use the code, you need to download this repository and compile the learning code:

$ git clone http://github.com/adikhosla/undoing-bias
$ cd undoing-bias
$ make

Demo

There are two demo scripts provided in this code to run the classification experiments from the paper: demo_small.m and demo_full.m. demo_small executes the learning code on randomly generated data and completes execution in under 5 seconds. demo_full executes the learning code on the full set of features (details below), and completes execution in about 8 minutes.

>> demo_small
>> demo_full

The demo above will output AP values on the unseen test set, as well as AP values on the test partition of the seen sets.

Features for classification experiments

We used 4 datasets in our experiments, namely Caltech-101, LabelMe, PASCAL VOC 2007 and SUN09 (described in the paper). The features used in the classification experiments are available for download from the project website in Matlab format.

The archive contains 4 mat files with features for the train and test images and labels for the five object categories used in our experiments (car, cat, chair, dog, person).

The code used for feature extraction is available here. Note that the default parameters in the feature extraction code may not match the ones used in the paper.

Bundled Code

We have modified the code from the discriminatively trained deformable parts model (voc-release3) to implement our max-margin framework, and included some auxillary files with no modifications. In addition, we adapt code from the PASCAL VOC development kit for Average Precision (AP) calculation.

Questions and Comments

If you have any feedback, please email Aditya Khosla at [email protected].

Reference

Please cite our paper if you use this code:

Undoing the Damage of Dataset Bias
Aditya Khosla, Tinghui Zhou, Tomasz Malisiewicz, Alexei A. Efros, Antonio Torralba. 
European Conference on Computer Vision (ECCV), 2012

[paper] [bibtex] [project page]

undoing-bias's People

Contributors

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