Giter Club home page Giter Club logo

hsva's Introduction

HSVA-NeurIPS-21

This is the implementation of โ€œHSVA: Hierarchical Semantic-Visual Adaptation for Zero-Shot Learningโ€ in Pytorch. The paper will appear in NeurIPS 2021.

Preparation

  1. Datasets can be downloaded Here. Put it in the data dir.
  2. Download our pretrained models from google drive Here, including CUB, SUN, AWA1 and AWA2 models. Put it in the result dir. Note that we just provide one pre-trained model for every dataset.

Test

To test the results for GZSL or CZSL, please run the commands in the following:

CUDA_VISIBLE_DEVICES="2" python test.py --dataset CUB --latent_size 64 --generalized True
CUDA_VISIBLE_DEVICES="2" python test.py --dataset SUN --latent_size 128 --generalized True
CUDA_VISIBLE_DEVICES="2" python test.py --dataset AWA1 --latent_size 64 --generalized True
CUDA_VISIBLE_DEVICES="2" python test.py --dataset AWA2 --latent_size 64 --generalized True

--gdataset test dataset, i.e., CUB, SUN, AWA1, and AWA2.

--generalized test for GZSL (True) or CZSL (False).

Results

Results of our released model using various evaluation protocols on four datasets, both in conventional ZSL (CZSL) and generalized ZSL (GZSL) setting.

Datasets U S H acc
AWA1 61.1 75.2 67.4 70.6
AWA2 57.8 79.3 66.9 --
CUB 51.9 59.5 55.5 62.8
SUN 48.6 39.0 43.3 63.8

Citation

If this work is helpful for you, please cite our paper.

@inproceedings{Chen2021HSVA,  
  title={HSVA: Hierarchical Semantic-Visual Adaptation for Zero-Shot Learning},    
  author={Chen, Shiming and Xie, Guo-Sen and Peng, Qinmu and Liu, Yang and Sun, Baigui and Li, Hao and You, Xinge and Shao,  Ling},    
  booktitle={35th Conference on Neural Information Processing Systems (NeurIPS)}, 
  year={2021}    
}

Ackowledgement

We thank the following repos providing helpful components in our work.

  1. CADA-VAE
  2. MCD-DA

hsva's People

Contributors

anonymou-ssubmition avatar shiming-chen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.