![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Pytorch
文章平均质量分 65
Annkile
这个作者很懒,什么都没留下…
展开
-
Pytorch图像分类器
对于该例,我们将使用CIFAR10数据集,它包含十个类别:‘airplane’, ‘automobile’, ‘bird’, ‘cat’,‘deer’, ‘dog’, ‘frog’, ‘horse’, ‘ship’, ‘truck’。CIFAR-10 中的图像尺寸为3*32*32,也就是RGB的3层颜色通道,每层通道内的尺寸为32*32。torchvision 数据集的输出是范围在[0,1]之间的 PILImage,我们将他们转换成归一化范围为[-1,1]之间的张量 Tensors。3)定义一个损失函数。原创 2023-12-04 10:05:21 · 393 阅读 · 0 评论 -
PyTorch神经网络
最近在学习《PyTorch官方教程》,跟着教程实现了一个简单的神经网络。原创 2023-11-29 11:05:44 · 417 阅读 · 0 评论