mepeichun / efficient-neural-network-bilibili Goto Github PK
View Code? Open in Web Editor NEWB站Efficient-Neural-Network学习分享的配套代码
B站Efficient-Neural-Network学习分享的配套代码
在哪里下载MNIST数据集呢?似乎没有上传
个人理解的是:
loss=apha*LOSSsoft+(1-alpha)*LOSShard
不知道temp*temp*2.0是什么意思
def distillation(y, labels, teacher_scores, temp, alpha):
print("teacher_scores",teacher_scores)
return nn.KLDivLoss()(F.log_softmax(y / temp, dim=1), F.softmax(teacher_scores / temp, dim=1)) * (
temp * temp * 2.0 * alpha) + F.cross_entropy(y, labels) * (1. - alpha)
在次代码中,为啥F.log_softmax(y / temp, dim=1,用的log,而F.softmax(teacher_scores / temp, dim=1)不用log
博主你好,我仿照你的MLP剪枝进行CNN剪枝,并保存剪枝模型,但在进行预测加载模型的时候,提示我形状不匹配。剪枝后的模型应该怎么加载回原网络呢?
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.