Coder Social home page Coder Social logo

maheshmb13 / muxconv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from human-analysis/muxconv

0.0 0.0 0.0 31 KB

MUXConv: Information Multiplexing in Convolutional Neural Networks (CVPR '20), Pytorch Implementation

Home Page: http://hal.cse.msu.edu/papers/muxnet/

Python 100.00%

muxconv's Introduction

MUXConv

Code accompanying the paper.

MUXConv: Information Multiplexing in Convolutional Neural Networks

Zhichao Lu, Kalyanmoy Deb, and Vishnu Boddeti

CVPR 2020

Requirements

Python >= 3.7.x, PyTorch >= 1.4.0, torchvision >= 0.5.0, timm == 0.1.14, 
torchprofile >= 0.0.1 (optional for calculating FLOPs)

ImageNet Classification

imagenet

Tranfer to CIFAR-10 and CIFAR-100

imagenet

Pretrained models

The easiest way to get started is to evaluate our pretrained MUXNet models. Pretrained models are available from Google Drive.

python eval.py --dataset [imagenet/cifar10/cifar100] \
	       --data /path/to/dataset --batch-size 128 \
	       --model [muxnet_s/muxnet_m/muxnet_l] \ 
	       --pretrained /path/to/pretrained/weights

Train

To re-train from scratch on ImageNet, use distributed_train.sh from pytorch-image-models and follow the recommended training hyperparameter setting for EfficientNet-B0.

To re-train on CIFAR (transfer) from ImageNet, run

python transfer_cifar.py --dataset [cifar10/cifar100] \
			 --data /path/to/dataset \
			 --model [muxnet_s/muxnet_m/muxnet_l] \
			 --imagenet /path/to/pretrained/imagenet/weights

Citation

If you find the code useful for your research, please consider citing our works

@article{muxconv,
  title={MUXConv: Information Multiplexing in Convolutional Neural Networks},
  author={Lu, Zhichao and Deb, Kalyanmoy and Boddeti, Vishnu},
  booktitle={CVPR},
  year={2020}
}

Acknowledgement

Codes heavily modified from pytorch-image-models and pytorch-cifar10.

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.