Giter VIP home page Giter VIP logo

mlp-mixer-cifar's Introduction

MLP-Mixer-CIFAR

PyTorch implementation of Mixer-nano (#parameters is 0.67M, originally Mixer-S/16 has 18M) with 90.83 % acc. on CIFAR-10. Training from scratch.

1.Prerequisite

2.Quick Start

$git clone https://github.com/omihub777/MLP-Mixer-CIFAR.git
$cd MLP-Mixer-CIFAR
$bash setup.sh
$main.py --dataset c10 --model mlp_mixer --autoaugment --cutmix-prob 0.5

3.Result

Dataset Acc.(%) Time(hh:mm:ss) Steps
CIFAR-10 90.83% 3:34.31 117.3k
CIFAR-100 67.51% 3:35.26 117.3k
SVHN 97.63% 5:23.26 171.9k
  • Number of Parameters: 0.67M
  • Device: P100 (single GPU)

3.1 CIFAR-10

  • Accuracy

Validation Acc. on CIFAR-10

3.2 CIFAR-100

  • Accuracy

Validation Acc. on CIFAR-100

3.3 SVHN

  • Accuracy

Validation Acc. on SVHN

4. Experiment Settings

Param Value
Adam beta1 0.9
Adam beta2 0.99
AutoAugment True
Batch Size 128
CutMix prob. 0.5
CutMix beta 1.0
Dropout 0.0
Epoch 300
Hidden_C 512
Hidden_S 64
Hidden 128
(Init LR, Last LR) (1e-3, 1e-6)
Label Smoothing 0.1
Layers 8
LR Scheduler Cosine
Optimizer Adam
Random Seed 3407
Weight Decay 5e-5
Warmup 5 epochs

5. Resources

mlp-mixer-cifar's People

Contributors

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