摘要:
AlexNet是另外一个比较经典的深度学习网络模型。 模型结构如下: 这里用该模型做个了个猫狗大战的训练,测试与c++测试和上一篇类似。 import torch import torch.nn as nn import torch.optim as optim from torch.utils.d 阅读全文
摘要:
业余时间重新学习一下深度学习,先从基础网络开始,一点一点积累。 Lenet网络模型: 下面程序中输入的数据是28*28的,结构和原始稍微有点不一样。 训练代码: import torch import torch.nn as nn import torch.optim as optim from t 阅读全文
摘要:
git clone如果遇到下面两个error: error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying stream error: RPC failed; curl 阅读全文
摘要:
拟合优度可以确定回归曲线对原始数据的拟合程度,用$R^{2}$表示,最大值为1,值越大拟合程度越好。 公式如下: 其中: 回归平方和SSR(regression sum of squares)公式: 总体平方和SST(total sum of squares)公式: 残差平方和SSE(error s 阅读全文