Skip to content

A Signal Propagation Perspective for Pruning Neural Networks at Initialization

License

Notifications You must be signed in to change notification settings

namhoonlee/spp-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Signal Propagation Perspective for Pruning Neural Networks at Initialization

This repository contains code for the paper A Signal Propagation Perspective for Pruning Neural Networks at Initialization (ICLR 2020).

Prerequisites

Dependencies

  • tensorflow >= 1.14
  • python >= 3.6
  • packages in requirements.txt

Datasets

Put the following datasets in your preferred location (e.g., ./data).

Usage

To run the code (MLP-7-linear on MNIST by default):

$ python main.py --path_data=./data

To enforce approximate dynamical isometry while checking signal propagation on network:

$ python main.py --path_data=./data --check_jsv --enforce_isometry

See main.py to run with other options.

Citation

If you use this code for your work, please cite the following:

@inproceedings{lee2020signal,
  title={A signal propagation perspective for pruning neural networks at initialization},
  author={Lee, Namhoon and Ajanthan, Thalaiyasingam and Gould, Stephen and Torr, Philip HS},
  booktitle={ICLR},
  year={2020},
}

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A Signal Propagation Perspective for Pruning Neural Networks at Initialization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages