chengshengchan / model_compression Goto Github PK
View Code? Open in Web Editor NEWImplementation of model compression with knowledge distilling method.
Implementation of model compression with knowledge distilling method.
你好。我在使用您的代码,用imagenet训练数据集,训练resnet(teacher) / queezenet(student)网络。
但是不管lr设置成0.1还是0.001,(batch_size)都是迭代140次左右loss稳定在一个值,并且不同的lr稳定的loss值都相同。 以您的经验能否指导下出现这种问题的可能原因?
Here instead of teacher_tau I think it should be y (placeholder variable). Because we want to give this value as input to the loss function. And in order to give input we have to use placeholder variable, isn't it.
hi , when run the code ,as follow:
python teacher-student.py --task test --model trained_model
i want to know what is the folder of trained_model, and i change the code :
python teacher-student.py --task test --model trained_model to >python teacher-student.py --task test --model savemodel, but didn't make it.
I implement a TensorFlow.keras version for ICML2019 paper Same, Same But Different - Recovering Neural Network Quantization Error Through Weight Factorization. Hope this would help
https://github.com/Adamdad/Samesame.git
想请问,在训练过程中,代码里面是如何保证只更新student network的权重的?
另外,在训练过程中,数据集的label应该是没有用到吧?
Hi. Thanks for sharing your code. I am wondering why your teacher's model (NIN) has 78% accuracy, which is lower than the one reported in the paper.
我尝试查看了得到的学生模型权重文件,发现模型文件里依然保存有教师网络的权重。请问这算是模型压缩嘛?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.