![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Pytorch
不跑步就等肥
这个作者很懒,什么都没留下…
展开
-
FCN-Pytorch实现源码阅读笔记
代码参考Github : https://github.com/wkentaro/pytorch-fcn1. _fast_histimport numpy as npdef _fast_hist(label_true, label_pred, n_class): mask = (label_true >= 0) & (label_true < n_class...原创 2020-02-29 11:11:17 · 2514 阅读 · 2 评论 -
Kaggle手写数字识别(Digit Recognizer)记录
竞赛地址 https://www.kaggle.com/c/digit-recognizer苦于学了cs231n和pytorch之后没有东西拿来练手,就去kaggle上找了一个入门竞赛,MNIST手写数字识别,这个比赛把MNIST数据集拆分成了42000的trainset和28000的testset。然后自己跟着cs231n的模式一步步写网络,pandas+numpy预处理数据,重写che...原创 2019-11-29 19:51:06 · 3095 阅读 · 0 评论 -
Pytorch搭建神经网络基本步骤(文末附pytorch实现AlexNet)
文章参考:http://pytorch123.com/SecondSection/neural_networks/cs231n assignment2 - http://cs231n.github.io/assignments2019/assignment2/文章目录整体流程1. 定义网络结构2. 前向传播3. 定义损失函数(Loss)4. 反向传播5. 更新权重实例-AlexNet-p...原创 2019-11-26 17:06:10 · 1960 阅读 · 0 评论 -
Pytorch tutorials学习笔记
每一段代码后都有跑出来的结果参考网址 https://pytorch.org/tutorials/beginner/blitz/neural_networks_tutorial.html文章目录1. Neural Networks1.1 Define the network1.2 Loss Function1.3 Backprop1.4 Update the weights1. Neu...原创 2019-10-22 22:36:46 · 241 阅读 · 0 评论