All Projects → ganguli-lab → Synaptic Flow

ganguli-lab / Synaptic Flow

Projects that are alternatives of or similar to Synaptic Flow

100days Ml Code
100天机器学习 (翻译+ 实操)
Stars: ✭ 98 (-2%)
Mutual labels:  jupyter-notebook
Noisy labels
TRAINING DEEP NEURAL-NETWORKS USING A NOISE ADAPTATION LAYER
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Neural Tangents
Fast and Easy Infinite Neural Networks in Python
Stars: ✭ 1,357 (+1257%)
Mutual labels:  jupyter-notebook
Delf enhanced
Wrapper of DELF Tensorflow Model
Stars: ✭ 98 (-2%)
Mutual labels:  jupyter-notebook
Btctrading
Time Series Forecast with Bitcoin value, to detect upward/down trends with Machine Learning Algorithms
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Bayarea Dl Summerschool
Torch notebooks and slides for the Bay Area Deep Learning Summer School
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Ml Sound Classifier
Machine Learning Sound Classifier
Stars: ✭ 98 (-2%)
Mutual labels:  jupyter-notebook
Dopamine
Dopamine is a research framework for fast prototyping of reinforcement learning algorithms.
Stars: ✭ 9,681 (+9581%)
Mutual labels:  jupyter-notebook
Libpysal
Core components of Python Spatial Analysis Library
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Advisor
Open-source implementation of Google Vizier for hyper parameters tuning
Stars: ✭ 1,359 (+1259%)
Mutual labels:  jupyter-notebook
Organic
Code repo for optimizing distributions of molecules.
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Pyspark Predictive Maintenance
Predictive Maintenance using Pyspark
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Junosautomation
To contain example scripts for different tools.
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Math of machine learning
This is the code for "Mathematcs of Machine Learning" by Siraj Raval on Youtube
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Hands On Machine Learning
A series of Jupyter notebooks with Chinese comment that walk you through the fundamentals of Machine Learning and Deep Learning in python using Scikit-Learn and TensorFlow.
Stars: ✭ 1,363 (+1263%)
Mutual labels:  jupyter-notebook
Ucl Deep Learning Ans Reinforcement Learning
Deep learning and Reinforcement learning lecture and course work
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Deeplearning
Python implementation of Deep Learning book
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Fortran magic
An extension for IPython/Jupyter that helps to use Fortran in your interactive session.
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook
Recommenders
Best Practices on Recommendation Systems
Stars: ✭ 11,818 (+11718%)
Mutual labels:  jupyter-notebook
Quant at
Python version of Dr. Ernie Chan's Matlab code and some inspired from Robert Carver's, plus some raw data downloaders
Stars: ✭ 99 (-1%)
Mutual labels:  jupyter-notebook

Synaptic Flow

Getting Started

First clone this repo, then install all dependencies

pip install -r requirements.txt

The code was tested with Python 3.6.0.

Code Base

Below is a description of the major sections of the code base. Run python main.py --help for a complete description of flags and hyperparameters.

Datasets

This code base supports the following datasets: MNIST, CIFAR-10, CIFAR-100, Tiny ImageNet, ImageNet. All datasets except ImageNet will download automatically. For ImageNet setup locally in the Data folder.

Models

There are four model classes each defining a variety of model architectures:

  • Default models support basic dense and convolutional model.
  • Lottery ticket models support VGG/ResNet architectures based on OpenLTH.
  • Tiny ImageNet models support VGG/ResNet architectures based on this Github repository.
  • ImageNet models supports VGG/ResNet architectures from torchvision.

Layers

Custom dense, convolutional, batchnorm, and residual layers implementing masked parameters can be found in the Layers folder.

Pruners

All pruning algorithms are implemented in the Pruners folder.

Experiments

Below is a list and description of the experiment files found in the Experiment folder:

  • singleshot.py: used to make figure 1, 2, and 6.
  • multishot.py: used to make figure 5a.
  • unit-conservation.py: used to make figure 3.
  • layer-conservation.py: used to make figure 4.
  • lottery-layer-conservation.py: used to make figure 5b.
  • synaptic-flow-ratio.py: used to make figure 7.

Results

All data used to generate the figures in our paper can be found in the Results/data folder. Run the notebook figures.ipynb to generate the figures.

Citation

If you use this code for your research, please cite our paper, "Pruning neural networks without any data by iteratively conserving synaptic flow".

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].