├── .gitignore ├── LICENSE ├── README.md ├── configs ├── 20220223_cifar100.yml ├── 20220309_cifar10.yml ├── __init__.py └── config_loader.py ├── figs └── overview.png ├── main.py ├── run_cifar10.sh ├── run_cifar100.sh └── src ├── __init__.py ├── controller.py ├── datasets ├── __init__.py ├── cifar.py ├── dataset_builder.py ├── dataset_config.yml ├── transform_builder.py └── transforms.py ├── losses ├── __init__.py ├── classification.py ├── kd_loss.py ├── loss_builder.py └── loss_wrapper.py ├── metrics ├── __init__.py ├── accuracy.py └── metric_builder.py ├── models ├── __init__.py ├── blocks │ └── __init__.py ├── densenet.py ├── model_builder.py ├── resnet.py └── vgg.py ├── optimizer ├── __init__.py ├── optimizer_builder.py ├── optimizer_config.yml └── optimizers.py ├── schemes ├── __init__.py ├── lr_schemes.py ├── scheme_builder.py └── scheme_config.yml ├── trainer.py └── utils ├── __init__.py ├── ema.py ├── logger.py ├── meter.py └── netio.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/README.md -------------------------------------------------------------------------------- /configs/20220223_cifar100.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/configs/20220223_cifar100.yml -------------------------------------------------------------------------------- /configs/20220309_cifar10.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/configs/20220309_cifar10.yml -------------------------------------------------------------------------------- /configs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/configs/__init__.py -------------------------------------------------------------------------------- /configs/config_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/configs/config_loader.py -------------------------------------------------------------------------------- /figs/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/figs/overview.png -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/main.py -------------------------------------------------------------------------------- /run_cifar10.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/run_cifar10.sh -------------------------------------------------------------------------------- /run_cifar100.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/run_cifar100.sh -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/__init__.py -------------------------------------------------------------------------------- /src/controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/controller.py -------------------------------------------------------------------------------- /src/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/datasets/__init__.py -------------------------------------------------------------------------------- /src/datasets/cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/datasets/cifar.py -------------------------------------------------------------------------------- /src/datasets/dataset_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/datasets/dataset_builder.py -------------------------------------------------------------------------------- /src/datasets/dataset_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/datasets/dataset_config.yml -------------------------------------------------------------------------------- /src/datasets/transform_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/datasets/transform_builder.py -------------------------------------------------------------------------------- /src/datasets/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/datasets/transforms.py -------------------------------------------------------------------------------- /src/losses/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/losses/__init__.py -------------------------------------------------------------------------------- /src/losses/classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/losses/classification.py -------------------------------------------------------------------------------- /src/losses/kd_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/losses/kd_loss.py -------------------------------------------------------------------------------- /src/losses/loss_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/losses/loss_builder.py -------------------------------------------------------------------------------- /src/losses/loss_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/losses/loss_wrapper.py -------------------------------------------------------------------------------- /src/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/metrics/__init__.py -------------------------------------------------------------------------------- /src/metrics/accuracy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/metrics/accuracy.py -------------------------------------------------------------------------------- /src/metrics/metric_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/metrics/metric_builder.py -------------------------------------------------------------------------------- /src/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/models/__init__.py -------------------------------------------------------------------------------- /src/models/blocks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/models/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/models/densenet.py -------------------------------------------------------------------------------- /src/models/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/models/model_builder.py -------------------------------------------------------------------------------- /src/models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/models/resnet.py -------------------------------------------------------------------------------- /src/models/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/models/vgg.py -------------------------------------------------------------------------------- /src/optimizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/optimizer/__init__.py -------------------------------------------------------------------------------- /src/optimizer/optimizer_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/optimizer/optimizer_builder.py -------------------------------------------------------------------------------- /src/optimizer/optimizer_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/optimizer/optimizer_config.yml -------------------------------------------------------------------------------- /src/optimizer/optimizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/optimizer/optimizers.py -------------------------------------------------------------------------------- /src/schemes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/schemes/__init__.py -------------------------------------------------------------------------------- /src/schemes/lr_schemes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/schemes/lr_schemes.py -------------------------------------------------------------------------------- /src/schemes/scheme_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/schemes/scheme_builder.py -------------------------------------------------------------------------------- /src/schemes/scheme_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/schemes/scheme_config.yml -------------------------------------------------------------------------------- /src/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/trainer.py -------------------------------------------------------------------------------- /src/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/utils/__init__.py -------------------------------------------------------------------------------- /src/utils/ema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/utils/ema.py -------------------------------------------------------------------------------- /src/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/utils/logger.py -------------------------------------------------------------------------------- /src/utils/meter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/utils/meter.py -------------------------------------------------------------------------------- /src/utils/netio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaoeric/Peer-Collaborative-Learning-for-Online-Knowledge-Distillation/HEAD/src/utils/netio.py --------------------------------------------------------------------------------