Giter VIP home page Giter VIP logo

attentionzsl's Introduction

Attribute Attention for Semantic Disambiguation in Zero-Shot Learning

This repository contains the public release of the Python implementation of

Attribute Attention for Semantic Disambiguation in Zero-Shot Learning

Yang Liu, Jishun Guo, Deng Cai, Xiaofei He.

framework

If you use this code or find this work useful for your research, please cite:

@inproceedings{Liu_2019_ICCV,
  title={Attribute Attention for Semantic Disambiguation in Zero-Shot Learning},
  author={Liu, Yang and Guo, Jishun and Cai, Deng and He, Xiaofei},
  booktitle={The IEEE International Conference on Computer Vision (ICCV)},
  month={Oct},
  year={2019}
}

Performance

cZSL

czsl

gZSL

gzsl

Start Up

Implemented and tested on Ubuntu 16.04 with Python 3.6 and Pytorch 1.0.1. Experiments are conducted on AwA2, CUB and SUN datasets.

We use AwA2 file format as default detailed in ./data/ folder and images should be downloaded and renamed as ./data/*/JPEGImages. It is important to note that several cusomization work should be done for SUN dataset to maintain the same file format.

Basic Usage

Train

Use experiments/run_trainer.py to train the network. Run help to view all the possible parameters. We provide several config files under ./configs/ folder. Example usage:

python experiments/run_trainer.py --cfg ./configs/self_adaptation/VGG19_AwA2_PS_C.yaml

Feel free to download the reported checkpoints.

Test

Use experiments/run_evaluator.py to evaluate the network with self_adaptation and experiments/run_evaluator_hybrid.py with hybrid method.

attentionzsl's People

Contributors

louieyang avatar

Watchers

 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.