项目作者: chaitanya100100

项目描述 :
Python Implementation of Visual Relative Attributes for Image Classification and Zero Shot Learning
高级语言: Python
项目地址: git://github.com/chaitanya100100/Relative-Attributes-Zero-Shot-Learning.git


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.