No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 720e3c9 Oct 21, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
EXEM updated Oct 16, 2018
SynC updated Oct 16, 2018
data updated Oct 16, 2018
misc updated Oct 16, 2018
tool Update Oct 15, 2018
Demo_EXEM.m updated Oct 22, 2018
Demo_SynC.m updated Oct 22, 2018 Update Oct 16, 2018


This repository provides codes and data of our papers:

[1] Soravit Changpinyo, Wei-Lun Chao, and Fei Sha, "Predicting visual exemplars of unseen classes for zero-shot learning," ICCV, 2017

[2] Wei-Lun Chao*, Soravit Changpinyo*, Boqing Gong, and Fei Sha, "An empirical study and analysis of generalized zero-shot learning for object recognition in the wild," ECCV, 2016

[3] Soravit Changpinyo*, Wei-Lun Chao*, Boqing Gong, and Fei Sha, "Synthesized classifiers for zero-shot learning," CVPR, 2016

Note that the codes for [3] are largely based on another repository zero-shot-learning.


  1. Download the following packages:
  1. Unzip and put them in the folder /tool, and compile. For libsvm, liblinear, multicore-liblinear, you only need to compile the /matlab subfolder.

  2. Check the paths and change the folder names.

  • Now in /tool, you should have 4 folders: /minFunc, /libsvm, /liblinear, /liblr-multicore.
  • In /minFunc, you should immediately see 3 subfolders and 4 .m files.
  • In /libsvm, /liblinear, /liblr-multicore, you should immediately see the /matlab subfolder.


  1. For AwA, CUB, and SUN:
  • Download the googleNet features. Unzip and put the 3 .mat files in the data folder.
  • Download the resnet features and class splits from Yongqin Xian's website: NS (PS) and SS. Unzip and put the xlsa17 and standard_split folders in the data folder. Run data_transfer.m to generate 8 .mat files ended with "resnet.mat".
  • You should have 11 .mat files in the data folder. You can delete the xlsa17 and standard_split folders.

Running the codes

  • The codes of SynC is in SynC/codes. The codes of EXEM is in EXEM/codes.
  • Please take a look at Demo_SynC.m and Demo_EXEM.m for how to run the codes.

GZSL Evaluation

We provide GZSL Area Under Seen Unseen accuracy Curve (AUSUC) evaluation in misc/Compute_AUSUC.m