Code Monkey home page Code Monkey logo

reslt's Introduction

ResLT: Residual Learning for Long-tailed Recognition (TPAMI 2022)

This repository contains the implementation code for paper:
Residual Learning for Long-tailed Recognition https://arxiv.org/abs/2101.10633

If you find this code or idea useful, please consider citing our work:

@article{cui2021reslt,
  title={ResLT: Residual Learning for Long-tailed Recognition},
  author={Cui, Jiequan and Liu, Shu and Tian, Zhuotao and Zhong, Zhisheng and Jia, Jiaya},
  journal={arXiv preprint arXiv:2101.10633},
  year={2021}
}

Updates

We further verifty the proposed ResLT is complementary to ensemble-based methods. Equipped with RIDEResNeXt, our model achieves better results. All experiments are conducted without knowledge distillation for fair comparison. For RIDE, we use their public code and train 180 epochs.

ImageNet-LT

Model Top-1 Acc Download log
RIDEResNeXt(3 experts) 55.1 - log
RIDEResNeXt-ResLT(3 experts) 57.6 model log

Inaturalist 2018

Model Top-1 Acc Download log
RIDEResNeXt(3 experts) 70.8 - log
RIDEResNeXt-ResLT(3 experts) 72.9 model log

Overview

In this paper, we proposed a residual learning method to address long-tailed recognition, which contains a Residual Fusion Module and a Parameter Specialization Mechanism. With extensive ablation studies, we demonstrate the effectiveness of our method.

image

Get Started

ResLT Training

For CIFAR, due to the small data size, different experimental environment can have a big difference. To achieve the reported results, you may need to slightly tune the $\alpha$.

bash sh/CIFAR100/CIFAR100LT_imf0.01_resnet32sx1_beta0.9950.sh

For ImageNet-LT,

bash sh/X50.sh

For iNaturalist 2018,

bash sh/R50.sh

Results and Models

CIFAR

Model Download
CIFAR-10-imb0.01 -
CIFAR-10-imb0.02 -
CIFAR-10-imb0.1 -
CIFAR-100-imb0.01 -
CIFAR-100-imb0.02 -
CIFAR-100-imb0.1 -

ImageNet-LT

Model Download log
ResNet-10 model log
ResNeXt-50 model log
ResNeXt-101 model log

iNatualist 2018

Model Download log
ResNet-50 model log

Places-LT

Model Download log
ResNet-152 - -

Acknowledgements

This code is partly based on the open-source implementations from offical PyTorch examples and LDAM-DRW.

Contact

If you have any questions, feel free to contact us through email ([email protected]) or Github issues. Enjoy!

reslt's People

Contributors

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