Python Implementation of Visual Relative Attributes for Image Classification and Zero Shot Learning
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.
- contains the implementation of rank svm using Newton's method.
- and 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, module and can be used to extract gist features.
- Learned ranking function, preprocessed data, etc. are read and saved in directory.