All Projects → nocotan → born_again_neuralnet

nocotan / born_again_neuralnet

Licence: MIT license
Unofficial pytorch implementation of Born-Again Neural Networks.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to born again neuralnet

college-management-react
This is a College management web app in MERN stack.
Stars: ✭ 42 (-4.55%)
Mutual labels:  teachers, students
classmanager-student-teacher-portal
A Student-Teacher Portal built using HTML, CSS, Python and Django
Stars: ✭ 155 (+252.27%)
Mutual labels:  teachers, students
introduction-to-computer-science
Microsoft TEALS Program - Introduction to Computer Science
Stars: ✭ 93 (+111.36%)
Mutual labels:  teachers, students
curr
All curricular materials for Bootstrap course modules
Stars: ✭ 13 (-70.45%)
Mutual labels:  teachers, students
ClassClock
ClassClock is a free, easy-to-use web app for K-12 schools that provides an at-a-glance view of the school schedule
Stars: ✭ 27 (-38.64%)
Mutual labels:  teachers, students
full-teaching
A web application to make teaching online easy. WARNING: the updated version of this repo is now in the link below
Stars: ✭ 34 (-22.73%)
Mutual labels:  teachers, students
STUDENT-ATTENDANCE-USING-FACIAL-RECOGNITION-SYSTEM-OPENCV
No description or website provided.
Stars: ✭ 46 (+4.55%)
Mutual labels:  student
repobee
CLI tool for managing Git repositories on GitHub and GitLab in the context of education
Stars: ✭ 51 (+15.91%)
Mutual labels:  teachers
cryfa
A secure encryption tool for genomic data
Stars: ✭ 53 (+20.45%)
Mutual labels:  compact
bitwig
Some controller scripts for Bitwig
Stars: ✭ 43 (-2.27%)
Mutual labels:  compact
BoardMasters-Question-Of-The-Day
Green River College BoardMasters Club, answers to the question of the day
Stars: ✭ 13 (-70.45%)
Mutual labels:  student
student-work
基于 Laravel5 开发的学生处任务发布监控系统
Stars: ✭ 22 (-50%)
Mutual labels:  students
sekoliko
Sekoliko | MySchool | MonEcole : School management Software.
Stars: ✭ 39 (-11.36%)
Mutual labels:  students
Materias-UFFS
Todo conteúdo do Curso, você encontra aqui 🍩 👾(COLINHA 😂)
Stars: ✭ 61 (+38.64%)
Mutual labels:  students
easy-school
A Django based School Management Web Application
Stars: ✭ 92 (+109.09%)
Mutual labels:  student
competitive-programming
A one stop resource for competitive programming.
Stars: ✭ 59 (+34.09%)
Mutual labels:  students
fx-compact-mode
A Compact Mode for Firefox Proton
Stars: ✭ 105 (+138.64%)
Mutual labels:  compact
hfg-documentation-generator
The HfG Documentation Generator
Stars: ✭ 13 (-70.45%)
Mutual labels:  student
xjtlu resource list
A resource list for student in XJTLU.
Stars: ✭ 21 (-52.27%)
Mutual labels:  student
EduCDM
The Model Zoo of Cognitive Diagnosis Models, including classic Item Response Ranking (IRT), Multidimensional Item Response Ranking (MIRT), Deterministic Input, Noisy "And" model(DINA), and advanced Fuzzy Cognitive Diagnosis Framework (FuzzyCDF), Neural Cognitive Diagnosis Model (NCDM) and Item Response Ranking framework (IRR).
Stars: ✭ 48 (+9.09%)
Mutual labels:  students

Born-Again Neural Networks

License: MIT GitHub repo size GitHub top language GitHub Repo stars

Unofficial pytorch implementation of Born-Again Neural Networks.

Knowledge Distillation (KD) consists of transferring “knowledge” from one machine learning model (the teacher) to another (the student). Commonly, the teacher is a high-capacity model with formidable performance, while the student is more compact. By transferring knowledge, one hopes to benefit from the student’s compactness, without sacrificing too much performance. We study KD from a new perspective: rather than compressing models, we train students parameterized identically to their teachers.

Examples

  • dataset: cifar-10
  • base model: ResNet-50

example

Training

$ python train.py --h
usage: train.py [-h] [--weight WEIGHT] [--lr LR] [--n_epoch N_EPOCH]
                [--batch_size BATCH_SIZE] [--n_gen N_GEN]
                [--resume_gen RESUME_GEN] [--dataset DATASET]
                [--outdir OUTDIR] [--print_interval PRINT_INTERVAL]

optional arguments:
  -h, --help            show this help message and exit
  --weight WEIGHT
  --lr LR
  --n_epoch N_EPOCH
  --batch_size BATCH_SIZE
  --n_gen N_GEN
  --resume_gen RESUME_GEN
  --dataset DATASET
  --outdir OUTDIR
  --print_interval PRINT_INTERVAL

Inference

$ python infer.py --h
usage: infer.py [-h] [--weights_root WEIGHTS_ROOT]

optional arguments:
  -h, --help            show this help message and exit
  --weights_root WEIGHTS_ROOT

References

  • Furlanello, T., Lipton, Z., Tschannen, M., Itti, L.&Anandkumar, A.. (2018). Born-Again Neural Networks.Proceedings of the 35th International Conference on Machine Learning, in PMLR80:1602-1611
  • Hinton, Geoffrey, Oriol Vinyals, and Jeff Dean. "Distilling the knowledge in a neural network." arXiv preprint arXiv:1503.02531 (2015).

LICENSE

This repository is MIT-style licensed, as found in the LICENSE file.

Citation

@software{https://doi.org/10.5281/zenodo.4405020,
  doi = {10.5281/ZENODO.4405020},
  url = {https://zenodo.org/record/4405020},
  author = {Masanari Kimura},
  title = {PyTorch Born Again Neural Networks},
  publisher = {Zenodo},
  year = {2020},
  copyright = {Open Access}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].