Skip to content

diaoenmao/RPipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPipe

Research Pipeline

Requirements

See requirements.txt

Instructions

  • Use make.sh to generate run script
  • Use make.py to generate exp script
  • Use process.py to process exp results
  • Hyperparameters can be found in config.yml and process_control() in module/hyper.py

Examples

  • Generate run script
    bash make.sh
  • Generate run script
    python make.py --mode base
  • Train with MNIST and linear model
    python train_model.py --control_name MNIST_linear
  • Test with CIFAR10 and resnet18 model
    python test_model.py --control_name CIFAR10_resnet18
  • Process exp results
    python process.py

Results

  • Learning curves of MNIST

  • Learning curves of CIFAR10

Acknowledgements

Enmao Diao