Giter VIP home page Giter VIP logo

css's Introduction

Conditional Self-Supervised Learning for Few-Shot Classification

Code for "Conditional Self-Supervised Learning for Few-Shot Classification" in IJCAI 2021.

If you use the code in this repo for your work, please cite the following bib entries:

@inproceedings{An2021CSS,
  author    = {Yuexuan An and
               Hui Xue and
               Xingyu Zhao and
               Lu Zhang},
  title     = {Conditional Self-Supervised Learning for Few-Shot Classification},
  booktitle = {Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, {IJCAI} 2021, Virtual Event / Montreal, Canada, 19-27 August 2021},
  pages     = {2140--2146},
  year      = {2021},
}

Enviroment

Python3

Pytorch

Getting started

CIFAR-FS

  • Change directory to ./filelists/cifar
  • Download CIFAR-FS
  • run bash ./cifar.sh

CUB

  • Change directory to ./filelists/CUB
  • run bash ./download_CUB.sh

mini-ImageNet

  • Change directory to ./filelists/miniImagenet
  • Download mini-ImageNet
  • run bash ./miniImagenet.sh

Running

python run_css.py

Acknowledgment

Our project references the codes and datasets in the following repo and papers.

CloserLookFewShot

Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltechucsd birds-200-2011 dataset. 2011.

Luca Bertinetto, João F. Henriques, Philip H. S. Torr, Andrea Vedaldi. Meta-learning with differentiable closed-form solvers. ICLR 2019.

Oriol Vinyals, Charles Blundell, Tim Lillicrap, Koray Kavukcuoglu, Daan Wierstra. Matching Networks for One Shot Learning. NIPS 2016: 3630-3638.

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.