This library contains a Pytorch implementation of 'A Boundary Based Out-of-Distribution Classifier for Generalized Zero-Shot Learning' [1] (#citation)(https://arxiv.org/abs/2008.04872). This work is built on top of S-VAE, as presented in [2](http://arxiv.org/abs/1804.00891).
- python>=3.6
- pytorch>=0.4.1: https://pytorch.org
- scipy: https://scipy.org
- numpy: https://www.numpy.org
-
Add this project to your python path.
-
To install, run
$ python setup.py install
- Training, run
$ cd src
$ python train.py ../config/awa1.yaml
- Testing, run
$ python test.py ../config/awa1.yaml
Please cite [1] in your work when using this library in your experiments.
[1] Xingyu Chen, Xuguang Lan, Fuchun Sun, Nanning Zheng. A Boundary Based Out-Of-Distribution
Classifier for Generalized Zero-Shot Learning[C]//Proceedings of the European Conference on
Computer Vision (ECCV) 2020.