Skip to content

milestonesvn/Stochastic_Depth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deep Networks with Stochastic Depth

This repository hosts the Torch 7 code for the paper Deep Networks with Stochastic Depth available at http://arxiv.org/abs/1603.09382v1. For now, the code reproduces the results in Figure 3 on CIFAR-10 and CIFAR-100. The code for SVHN and 1202-layer CIFAR-10 (which requires some memory optimization) will be available very soon.

Prerequisites

Getting Started

This command runs the 110-layer ResNet on CIFAR-10 with stochastic depth, using linear decaying survival probabilities ending in 0.5
th main.lua -dataRoot path_to_data -resultFolder path_to_save -N 18 -deathRate 0.5
the -device flag allows you to specify which GPU to run on.
Setting deathRate to 0 is equivalent to a constant depth network, so to run our baseline, enter
th main.lua -dataRoot path_to_data -resultFolder path_to_save -N 18
You can run on CIFAR-100 by adding the flag -dataset cifar100.

Contact

My email is ys646 at cornell.edu. I'm happy to answer any of your question, and I'd very much appreciate your suggestions.

About

Code for "Deep Networks with Stochastic Depth"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%