Coder Social home page Coder Social logo

vision-cair / cizslv2 Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 2.0 14.17 MB

CIZSL++: Creativity Inspired Generative Zero-Shot Learning. T-PAMI under review.

Python 99.20% Shell 0.80%
zero-shot-learning creativity unseen-classes-understanding generative-models attributes vision-and-language

cizslv2's Introduction

CIZSLv2

CIZSL++: Creativity Inspired Generative Zero-shot Learning, Mohamed Elhoseiny, Kai Yi, Mohamed Elfeki, Arxiv, 2020

Requirements

Python 3.6

Pytorch 1.6

sklearn, scipy, matplotlib, numpy, random, copy

Processed Feature Data

You can download the text-based dataset at dataset CUBird and NABird. For attribute-based data, you can access to here.

Please put the uncompressed data to the folder "data".

Reproduce CIZSLv2 Best Model

python train_cizslv2.py --dataset 'CUB' --splitmode 'easy' --creativity_weight 1  --exp_name 'cizslv2'              
python train_cizslv2.py --dataset 'CUB' --splitmode 'hard' --creativity_weight 0.1  --exp_name 'cizslv2'                
python train_cizslv2.py --dataset 'NAB' --splitmode 'easy' --creativity_weight 0.001  --exp_name 'cizslv2'              
python train_cizslv2.py --dataset 'NAB' --splitmode 'hard' --creativity_weight 1  --exp_name 'cizslv2'

Reference

  • Yizhe Zhu, Mohamed Elhoseiny, Bingchen Liu, Xi Peng and Ahmed Elgammal "A Generative Adversarial Approach for Zero-Shot Learning from Noisy Texts", CVPR, 2018
  • Mohamed Elhoseiny, Mohamed Elfeki, Creativity Inspired Zero Shot Learning, Thirty-sixth International Conference on Computer Vision (ICCV), 2019

If you find this code is useful, please cite:

@article{elhoseiny2021cizsl++,
  title={CIZSL++: Creativity Inspired Generative Zero-Shot Learning},
  author={Elhoseiny, Mohamed and Yi, Kai and Elfeki, Mohamed},
  journal={arXiv preprint arXiv:2101.00173},
  year={2021}
}

cizslv2's People

Contributors

mhelhoseiny avatar williamyi96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.