Giter VIP home page Giter VIP logo

stochastic-gates's Introduction

Channel-selection using Gumbel Softmax

This repository contains a PyTorch implementation of the paper "Channel-selection using Gumbel Softmax" (previously titled "An end-to-end approach for speeding up neural networks"). Published at ECCV '20.

ECCV link: https://www.ecva.net/papers/eccv_2020/papers_ECCV/papers/123720239.pdf

Arxiv link: https://arxiv.org/abs/1812.04180

Note that this code results in a pruned network with higher accuracy than the baseline at rough half of the FLOPs (ResNet 50: 76.14 with only 55% of original FLOPs).

Requirements

This implementation is developed for

PyTorch 0.3.1 CUDA 9.1

Code uses PyTorch 0.3.1. We timed it and found that this code is faster in 0.3.1 than 0.4.1. Have not tested it with 1+ yet.

Note, this code very closely follows the code for Convolutional Networks with Adaptive Inference Graphs (ConvNet-AIG): https://github.com/andreasveit/convnet-aig. Thanks to Andreas Veit and Serge Belongie for all the help.

Citing

If you find this helps your research, please consider citing:

@inproceedings{herrmann2020channel,
  title={Channel Selection Using Gumbel Softmax},
  author={Herrmann, Charles and Bowen, Richard Strong and Zabih, Ramin},
  booktitle={European Conference on Computer Vision},
  pages={241--257},
  year={2020},
  organization={Springer}
}

Contact

Please contact cih at cs dot cornell dot edu

stochastic-gates's People

Contributors

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