Giter VIP home page Giter VIP logo

medi's Introduction

MEDI

Hi, this is the core code of our rencent work "Meta Discovery: Learning to Discover Novel Classes given Very Limited Data" (ICLR 2022, https://openreview.net/pdf?id=MEpKGLsY8f). This work is done by

Software

Torch version is 1.7.1. Python version is 3.7.6. CUDA version is 11.0.

These python files, of cause, require some basic scientific computing python packages, e.g., numpy. I recommend users to install python via Anaconda (python 3.7.6), which can be downloaded from https://www.anaconda.com/distribution/#download-section . If you have installed Anaconda, then you do not need to worry about these basic packages.

After you install anaconda and pytorch (gpu), you can run codes successfully.

MEDI

Please feel free to test the MEDI method by running main.py.

Specifically, please run

CUDA_VISIBLE_DEVICES=0 python main.py

in your terminal (using the first GPU device).

Citation

If you are using this code for your own researching, please consider citing

@inproceedings{chi2022meta,
  title={Meta discovery: Learning to discover novel classes given very limited data},
  author={Chi, Haoang and Liu, Feng and Han, Bo and Yang, Wenjing and Lan, Long and Liu, Tongliang and Niu, Gang and Zhou, Mingyuan and Sugiyama, Masashi},
  booktitle={International Conference on Learning Representations},
  year={2022}
}

Acknowledgment

This work was partially supported by the National Natural Science Foundation of China (No. 91948303-1, No. 61803375, No. 12002380, No. 62106278, No. 62101575, No. 61906210) and the National Grand R&D Plan (Grant No. 2020AAA0103501). BH was supported by NSFC Young Scientists Fund No. 62006202 and RGC Early Career Scheme No. 22200720. TLL was supported by Australian Research Council Projects DE-190101473 and DP-220102121. MS was supported by JST CREST Grant Number JPMJCR18A2.

medi's People

Contributors

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