-
- Downloads
early-exit: further refactoring and resnet50-imagenet
Refactor EE code and place in a separate file. Fix resnet50-earlyexit (inputs of nn.Linear layers was wrong). Caveats: 1. resnet50-earlyexit performance needs to be tested for performance. 2. there is still too much EE code dispersed in apputils/image_classifier.py and compress_classifier.py
Showing
- distiller/__init__.py 1 addition, 0 deletionsdistiller/__init__.py
- distiller/apputils/image_classifier.py 3 additions, 1 deletiondistiller/apputils/image_classifier.py
- distiller/early_exit.py 83 additions, 0 deletionsdistiller/early_exit.py
- distiller/models/cifar10/resnet_cifar_earlyexit.py 9 additions, 41 deletionsdistiller/models/cifar10/resnet_cifar_earlyexit.py
- distiller/models/imagenet/resnet_earlyexit.py 39 additions, 51 deletionsdistiller/models/imagenet/resnet_earlyexit.py
- distiller/modules/__init__.py 12 additions, 1 deletiondistiller/modules/__init__.py
- tests/test_pruning.py 1 addition, 1 deletiontests/test_pruning.py
distiller/early_exit.py
0 → 100644
Please register or sign in to comment