Skip to content

berryweinst/pairwise-margin-maximization

Repository files navigation

pairwise-margin-maximization

This code can be used to replicate results from "Pairwise Margin Maximization for Deep Neural Networks"

To clone:

git clone --recursive https://github.com/paper-submissions/mms-select
  1. Training the resnet44 in Cifar10:
python main.py --dataset cifar10 --model resnet --model-config "{'depth': 44, 'regime':'normal_selective'}" -b 64 --epochs 2000 --save resnet44_cifar10_select_mms --device-ids 0 -sb 640
  1. Training the WRN-28-10 on Cifar100:
python main.py --dataset cifar100 --model resnet --model-config "{'depth': 28, 'width': [160, 320, 640], 'regime':'resnet-wide_selective'}" -b 64 --epochs 2000 --save resnet28_wide_cifar100_select_mms --device-ids 1 --cutout --autoaugment -sb 640

Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages