zhibindeng / fixed_point_networks

A new class of deep learning models can approximate infinite depth while using fixed memory costs and being easy to train/implement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fixed Point Networks

Associated Publication

Fixed Point Networks: Implicit Depth with Jacobian-Free Backprop (arXiv Link)

@article{WuFung2020learned,
    title={Fixed Point Networks: Implicit Depth Models with Jacobian-Free Backprop},
    author={Fung, Samy Wu and Heaton, Howard and Li, Qiuwei and McKenzie, Daniel and Osher, Stanley and Yin, Wotao},
    journal={arXiv preprint arXiv:2103.12803},
    year={2021}

Set-up

Install all the requirements:

pip install -r requirements.txt 

Training

For each dataset, there are three types of training drivers:

  1. FPN with our proposed backprop:
	python train_CIFAR10.py
	python train_CIFAR10_Unaugmented.py
	python train_MNIST.py
	python train_SVHN.py
  1. FPN with Jacobian-based backprop:
	python train_CIFAR10_Jacobian_Based.py
	python train_CIFAR10_Unaugmented_Jacobian_Based.py
	python train_MNIST_Jacobian_Based.py
	python train_SVHN_Jacobian_Based.py
  1. Explicit models.
	python train_CIFAR10_Explicit.py
	python train_CIFAR10_Unaugmented_Explicit.py
	python train_MNIST_Explicit.py
	python train_SVHN_Explicit.py

About

A new class of deep learning models can approximate infinite depth while using fixed memory costs and being easy to train/implement.


Languages

Language:Python 100.0%