Git Product home page Git Product logo

relative-attributes-zero-shot-learning's Introduction

Relative-Attributes

Python Implementation of Visual Relative Attributes for Image Classification and Zero Shot Learning

Description

This implementation refers to paper Relative Attributes, D. Parikh and K. Grauman, International Conference on Computer Vision (ICCV), 2011. Original code given by authors was in matlab. This repo contains python code for learning relative ranking function using Newton optimization implemented from scratch. Also Zero Shot Learning with Gaussian Mixture Model is implemented in python.

Implementation Details

  • src/rank_svm.py contains the implementation of rank svm using Newton's method.
  • src/zero_shot_training.py and src/zero_shot_GMM.py are training and testing files for zero shot learning respectively.
  • Pre-extracted gist features from 'PubFig' dataset are used in this implementation. To train on new dataset, gist module and src/extract_feature.m can be used to extract gist features.
  • Learned ranking function, preprocessed data, etc. are read and saved in demo directory.

relative-attributes-zero-shot-learning's People

Contributors

chaitanya100100 avatar kulinshah98 avatar starttirth1998 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

relative-attributes-zero-shot-learning's Issues

weight file and datadict.npy

Hi, can I get the weight file and the datadict.npy that necessary to run the demo/compare_two.py code? Thank you

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.