Aidan N. Gomez, Ivan Zhang, Kevin Swersky, Yarin Gal, and Geoffrey E. Hinton
- Python 3
- Tensorflow 1.8
- Train a model:
python -m TD.train --hparams=resnet_default
- Prune that model:
python -m TD.scripts.prune.eval --hparams=resnet_default --prune_percent 0.0,0.25,0.5,0.75,0.95
--env
: one oflocal
,gcp
(GPU instances), ortpu
(TPU instances). Feel free to add more if necessary.--hparams
: the hparam set you want to run.--hparam_override
: manually specify hparams to be overridden (e.g--hparam_override 'drop_rate=0.66'
)