cajosantiago / LOW

Official Pytorch implementation of "LOW: Training Deep Neural Networks by Learning Optimal Sample Weights"
8 stars 2 forks source link

Official Pytorch implementation of "LOW: Training Deep Neural Networks by Learning Optimal Sample Weights"

A PyTorch implementation of "LOW: Training Deep Neural Networks by Learning Optimal Sample Weights" with an example on MNIST using LeNet-5.

Recent updates

  1. Original submission

Requirements

Usage

Running the demo:

python main.py --data <path_to_folder_with_mnist> --save <path_to_save_dir> --loss 'LOW'
python main.py --data <path_to_folder_with_mnist> --save <path_to_save_dir> --loss 'CE'

Options:

Performance

A comparison between SGD and LOW:

Loss Test error (%)
SGD 1.74
LOW 0.85

Reference

@article{unpublished,
  title={LOW: Training Deep Neural Networks by Learning Optimal Sample Weights},
  author={Santiago, C. and Barata, C. and Sasdelli, M. and Carneiro, G. and Nascimento, J.},
  journal={Pattern Recognition},
  pages={1--1},
  year={2020},
  publisher={Elsevier}
}