Skip to content

Code for the paper "Training CNNs with Selective Allocation of Channels" (ICML 2019)

License

Notifications You must be signed in to change notification settings

jh-jeong/selective-convolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This directory contains the code for the paper:

Training CNNs with Selective Allocation of Channels (ICML 2019).

Requirements

  • python3
  • torch >= 0.4.0
  • torchvision
  • numpy
  • tensorboardX

How to run

### Train the baseline DenseNet-40 model
$ CUDA_VISIBLE_DEVICES=0 python main.py experiments/cifar10_densenet40.json

### Train DenseNet-40 with channel-selectivity (DenseNet-SConv-40)
$ CUDA_VISIBLE_DEVICES=1 python main.py experiments/cifar10_densenet_sconv40.json

### In case `tensorboard` is installed, you can also track the current training progress 
$ tensorboard --logdir=./logs

Releases

No releases published

Packages

 
 
 

Languages