├── .gitignore ├── KE_model.py ├── LICENSE ├── README.md ├── configs └── base_config.py ├── constants.py ├── data ├── __init__.py ├── aircraft.py ├── custom_dataset.py ├── flower.py └── py_transform.py ├── imgs ├── cvpr_2021.gif └── dense_slim.jpg ├── layers ├── CS_KD.py ├── __init__.py ├── bn_type.py ├── conv_type.py ├── linear_type.py └── normalize_layer.py ├── models ├── __init__.py ├── builder.py ├── common.py ├── split_densenet.py ├── split_googlenet.py └── split_resnet.py ├── sample_runs └── aircraft │ ├── SPLT_CLS_Aircraft100Pytorch_Split_ResNet18_cskdFalse_smthTrue_k0.5_G5_e200_evrand_hResetFalse_smkels_single_gpu_test3.csv │ └── train_log.txt ├── train_KE_cls.py ├── trainers ├── __init__.py └── default_cls.py └── utils ├── __init__.py ├── csv_utils.py ├── eval_utils.py ├── gpu_utils.py ├── log_utils.py ├── logging.py ├── model_profile.py ├── net_utils.py ├── os_utils.py ├── path_utils.py └── schedulers.py /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .idea/ 3 | 4 | *.pyc 5 | 6 | honda_test.py 7 | -------------------------------------------------------------------------------- /KE_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/KE_model.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/README.md -------------------------------------------------------------------------------- /configs/base_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/configs/base_config.py -------------------------------------------------------------------------------- /constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/constants.py -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/data/__init__.py -------------------------------------------------------------------------------- /data/aircraft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/data/aircraft.py -------------------------------------------------------------------------------- /data/custom_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/data/custom_dataset.py -------------------------------------------------------------------------------- /data/flower.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/data/flower.py -------------------------------------------------------------------------------- /data/py_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/data/py_transform.py -------------------------------------------------------------------------------- /imgs/cvpr_2021.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/imgs/cvpr_2021.gif -------------------------------------------------------------------------------- /imgs/dense_slim.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/imgs/dense_slim.jpg -------------------------------------------------------------------------------- /layers/CS_KD.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/layers/CS_KD.py -------------------------------------------------------------------------------- /layers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layers/bn_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/layers/bn_type.py -------------------------------------------------------------------------------- /layers/conv_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/layers/conv_type.py -------------------------------------------------------------------------------- /layers/linear_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/layers/linear_type.py -------------------------------------------------------------------------------- /layers/normalize_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/layers/normalize_layer.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/models/builder.py -------------------------------------------------------------------------------- /models/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/models/common.py -------------------------------------------------------------------------------- /models/split_densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/models/split_densenet.py -------------------------------------------------------------------------------- /models/split_googlenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/models/split_googlenet.py -------------------------------------------------------------------------------- /models/split_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/models/split_resnet.py -------------------------------------------------------------------------------- /sample_runs/aircraft/SPLT_CLS_Aircraft100Pytorch_Split_ResNet18_cskdFalse_smthTrue_k0.5_G5_e200_evrand_hResetFalse_smkels_single_gpu_test3.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/sample_runs/aircraft/SPLT_CLS_Aircraft100Pytorch_Split_ResNet18_cskdFalse_smthTrue_k0.5_G5_e200_evrand_hResetFalse_smkels_single_gpu_test3.csv -------------------------------------------------------------------------------- /sample_runs/aircraft/train_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/sample_runs/aircraft/train_log.txt -------------------------------------------------------------------------------- /train_KE_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/train_KE_cls.py -------------------------------------------------------------------------------- /trainers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trainers/default_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/trainers/default_cls.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/csv_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/csv_utils.py -------------------------------------------------------------------------------- /utils/eval_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/eval_utils.py -------------------------------------------------------------------------------- /utils/gpu_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/gpu_utils.py -------------------------------------------------------------------------------- /utils/log_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/log_utils.py -------------------------------------------------------------------------------- /utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/logging.py -------------------------------------------------------------------------------- /utils/model_profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/model_profile.py -------------------------------------------------------------------------------- /utils/net_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/net_utils.py -------------------------------------------------------------------------------- /utils/os_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/os_utils.py -------------------------------------------------------------------------------- /utils/path_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/path_utils.py -------------------------------------------------------------------------------- /utils/schedulers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmdtaha/knowledge_evolution/HEAD/utils/schedulers.py --------------------------------------------------------------------------------