Weight Normalization Layer for Chainer

November 11, 2016 · View on GitHub

code for the paper Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networks

実装について

Requirements

  • Chainer 1.17

Usage

Installation

YOUR PROJECT DIR
├── weightnorm
│   ├── __init__.py
│   ├── convolution_2d.py
│   ├── deconvolution_2d.py
│   └── linear.py

Running

before:

import chainer
layer = chainer.links.Linear(...)

after:

import weightnorm
layer = weightnorm.Linear(...)