![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
#Pytorch
文章平均质量分 63
Bealliant
AHU-无人机图像识别
展开
-
21Winter\ 使用全连接层对MINIST进行多分类
Pytorch中的Dataset和DataLoader\ MINIST数据集实战原创 2021-12-23 16:08:30 · 1734 阅读 · 0 评论 -
21Winter\ #Pytorch .grad实现神经网络
底层方法来构建神经网络。使用的是吴恩达网课里面的一个Binary Classification的数据集。在logistic 函数里面用了两个Hidden Layer,然后调用它来mean-square error 函数。初始化optimizer,进行梯度下降,然后保存数据。原创 2021-12-17 14:00:01 · 695 阅读 · 0 评论 -
21Fall\ Machine Learning Transforms
import numpyimport osfrom torch.utils.data import Datasetfrom PIL import Imageclass Mydata(Dataset): def __init__(self,root_dir,label_dir): self.root_dir = root_dir self.label_dir= label_dir self . path = os.pat...原创 2021-12-17 14:19:28 · 402 阅读 · 0 评论 -
21Winter\ 使用torch.nn 模块进行线性回归
使用了torch.nn之中最为基础的方法进行了一个线性回归。原创 2021-12-20 20:45:34 · 995 阅读 · 0 评论