Skip to content

Regularization term for learning decorrelated conv kernels

Notifications You must be signed in to change notification settings

henry-eigen/Decorr_Reg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Decorr_Reg

Implementation of Improving Deep Neural Network Sparsity through Decorrelation Regularization

It uses a regularization penalty during training to encourage convolutional layers to learn a sparse, diverse set of kernels.

Can be used with keras convolutional layer like:

from ssr import SparseConv2D, rc_reg

x = SparseConv2D(...
            ...
            ...
            kernel_regularizer = rc_reg(num_channels))(x)

The num_channels parameter should specify the number of channels in the previous layer's output. Note that this has nothing to do with the behavior of the regularization itself and everything to do with the fact that Tensorflow decided it couldn't guess the shape itself.

About

Regularization term for learning decorrelated conv kernels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages