Skip to content

nocotan/density_fixing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains demo implementation of the density-fixing training code in PyTorch based on the following paper:

Masanari Mimura, Ryohei Izawa. Density Fixing: Simple yet Effective Regularization Method based on the Class Prior https://arxiv.org/abs/2007.03899

Training

The following table shows the mean test errors w/ and w/o density-fixing regularization.

Model Top 1 Error Top 5 Error
ResNet-18 12.72% 0.812%
ResNet-18 + density fixing (gamma=1) 12.23% 0.779%

fig:supervised_cifar10

Acknowledgement

The CIFAR-10 reimplementation of density-fixing is adapted from the pytorch-cifar repository by kuangliu.

About

Implementation of the density-fixing training method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages