Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Learning_From_Mistakes

Learning From Mistakes: A Multi-level Optimization Framework (Official Pytorch implementation for applications to Neural Architecture Search (NAS) and Data Reweighting (DR)).

Setups

The requiring environment is as bellow:

  • Linux
  • Python 3+
  • PyTorch 1.8.1
  • Torchvision 0.9.1

Running application to NAS on benchmark datasets (CIFAR-10 and CIFAR-100).

Here is an example about running the search stage of DARTS on CIFAR-10:

python train_search_lfm.py --is_cifar100 0 --gpu 0 --unrolled --save darts-cifar10

Here is an example about running the evaluation stage of architecture searched on CIFAR-10:

python train.py --gpu 0 --auxiliary --cutout --arch [searched architecture]

Running application to DR on benchmark datasets (CIFAR-10 and CIFAR-100).

Here is an example about running the experiment on class imbalance dataset with 100 imbalance factor

python dr-lfm-imbalance.py --dataset cifar100 --num_classes 100 --imb_factor 0.01

Checkpoints that related to the results showed in the paper

Checkpoints of the Application to NAS:

Checkpoints of the Application to DR (Class Imbalance):

Checkpoints of the Application to DR (Label Noisy):

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages