Giter Site home page Giter Site logo

rexnet-pytorch's Introduction

ReXNet-tiny on CIFAR10 PyTorch

Implementation of ReXNet-tiny model on CIFAR10 using PyTorch

It's unofficial code! [origin paper]

Abstract

(1) simple and effective design principles to mitigate the representational bottleneck

(2) study the matrix rank on the features generated by ten thousand random networks

Method

rexnet-rank

rexnet

Run

ReXNet-tiny

CUDA_VISIBLE_DEVICES=0 python train.py --epochs 100 \
--savepath ./checkpoint/cifar10/sgd

ReXNet-tiny with SGDMix

CUDA_VISIBLE_DEVICES=0 python train_sgdmix.py --epochs 100 \
--savepath ./checkpoint/cifar10/sgdmix \
--name sgdmix

ReXNet-tiny with RandAugment12 and cutmix 0.5

CUDA_VISIBLE_DEVICES=0 python train_sgd_randaugcutout_cutmix.py \
--savepath ./checkpoint/cifar10/sgd_randaugsubin_cutmix12 \
--name sgd_randaugsubin_cutmix12 \
--rand_n 1 --rand_m 2

Experiement

1. ReXNet-tiny-cifar with optimizer

Model Input Res. Optimizer Top-1 acc. Params
ReXNet-tiny-cifar 32x32 Adam 93.82 1.9M
ReXNet-tiny-cifar 32x32 AdamW 93.82 1.9M
ReXNet-tiny-cifar 32x32 AdamP TODO 1.9M
ReXNet-tiny-cifar 32x32 SGD 94.90 1.9M
ReXNet-tiny-cifar 32x32 SGDP 94.43 1.9M
ReXNet-tiny-cifar 32x32 SGDMix 95.04 1.9M

2. Scheduler

Model Input Res. Optimizer Top-1 acc. Params
ReXNet-tiny-cifar, step 30 32x32 SGDMix 95.04 1.9M
ReXNet-tiny-cifar, multistep 30 32x32 SGDMix 95.13 1.9M
ReXNet-tiny-cifar, cosine 30 32x32 SGDMix 95.02 1.9M
Model Input Res. Optimizer Top-1 acc. Params
ReXNet-tiny-cifar, Multi step [30, 60, 90] 32x32 SGDMix TODO 1.9M

3. Augmentation

Model Input Res. Optimizer Top-1 acc. Params
ReXNet-tiny-cifar 32x32 Adam 93.82 1.9M
ReXNet-tiny-cifar + cutmix 32x32 Adam 94.97 1.9M
ReXNet-tiny-cifar + cutmix 32x32 SGDMix TODO 1.9M
ReXNet-tiny-cifar + randaug (1, 2) 32x32 Adam 94. 1.9M
ReXNet-tiny-cifar + randaug (1, 2) + cutmix 32x32 Adam 95.02 1.9M
ReXNet-tiny-cifar + randaug (1, 2) + cutmix 32x32 SGDMix TODO 1.9M

4. Comparision with efficientnet-cifar

Model Input Res. Optimizer Top-1 acc. Params
Efficientnet-tiny-cifar 32x32 Adam 93.18
ReXNet-tiny-cifar 32x32 Adam 93.82 1.9M

5. Model Compression (TODO)


Author

  • Subin Yang

rexnet-pytorch's People

Contributors

ysbsb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yjleeee

rexnet-pytorch's Issues

Train own dataset

I want to train my own dataset except cifar10 or imagenet.
But I don't know how to do.

Please help me.

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.