The official implementation of Normalization Matters in Zero-Shot Learning.
To run the experiments you will first need to install firelab
:
pip install firelab
To run ZSL experiments download the GBU datasets and preprocess them like in notebooks/awa2-feats.ipynb
.
Now, you can run the experiments with
firelab start configs/zsl.yml --config.dataset awa2
To run CZSL experiments, download SUN dataset and preprocess it with notebooks/sun-dataset-preprocessing.ipynb
and CUB dataset.
Next, you can run the experiments:
python src/run.py -c attrs_head --dataset sun