![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
文章平均质量分 64
yzy_1117
这个作者很懒,什么都没留下…
展开
-
目标检测算法
算法分类: 两步走: 推荐区域region proposal + 分类 端到端:一个网络输入到输出。类别+位置 分类: 得出每个类别的概率,比较得到最大概率 训练:softmax 进行概率计算,交叉熵损失衡量 当图片中有一个类别时:分类+定位 分类:准确率 mAP 定位 :IoU (交并比):两个框相交的面积除以两个框占的所...原创 2022-01-14 16:18:28 · 521 阅读 · 0 评论 -
Pytorch RNN
原创 2021-11-25 18:42:56 · 83 阅读 · 0 评论 -
pytorch第三节
model capacitydepth越大 更能抽象出更多特征,模型表达能力越强case 1 estimated < ground-truth under-fittingcase 2 estimated > ground-truth over-fittingover fitting 现象更多如何检测和减少overfittingTrainSet Val Set TestSetvalset 挑选模型参数划分数据集 train 参数 True o...原创 2021-11-24 15:05:27 · 730 阅读 · 0 评论 -
pytorch 第二节 神经网络
pytorch 神经网络torch.sigmoid(a)relu 梯度保持不变 torch.relu(a)from torch.nn import functional as FF.relu()Typical Loss : Mean Squared Error Cross Entropy LossMSEtorch.autograd.grad()变量需要梯度信息torch.requires_grad_x = torch.ones(1)w = torch.fu...原创 2021-11-23 17:41:42 · 1002 阅读 · 0 评论 -
深度学习pytorch
pytorch 数据类型pytorch不是完备的语言库,无法直接处理string如何处理string 使用onehot编码 embedding:word2vec\glove对于pytorch来说 数据是同一个数据在cpu 和GPU 数据类型是不一样的,gpu.tensorGPU tensor torch.cuda.floatTensora = torch.randn(2,3)a.type() =>torch.FloatTensorisinstance()标...原创 2021-11-22 23:04:43 · 398 阅读 · 0 评论