当前位置:网站首页>ResNet18-实现图像分类
ResNet18-实现图像分类
2022-07-30 19:05:00 【AutoGalaxy】
一. 原理
参见论文:何凯明:Deep Residual Learning for Image Recognition
二. 代码
使用的库:
torchvision:处理图像数据,包含一些数据集,模型,转换函数,独立于pytorch,需要独立安装,主要由以下四部分组成(1)torchvision.models:提供深度学习中经典的网络结构(Alex-net,ResNet,VGG,Inception)
(2)torchvision.datasets:提供常用的数据集
(3)torchvision.transforme:常用的数据预处理操作
(4)torchvision.utils:工具类
实现目标:每张图片对应一个label,能够让模型识别图片对应的model(图像分类任务)
阅读深度学习代码技巧:得搞清楚数据集的格式是什么,即数据集的输入是什么,输出是什么。(通过Debug来调试解读,更加方便快捷)
输入:图片变成向量,
1.1. Debug
边栏推荐
猜你喜欢
随机推荐
JS提升:Promise中reject与then之间的关系
Read the "Language Model" in one article
The large-scale application of artificial intelligence AI products in industrial-grade mature shipping ports of CIMC World Lianda will create a new generation of high-efficiency smart ports and innova
Vulkan开启特征(feature)的正确姿势
SimpleOSS第三方库libcurl与引擎libcurl错误解决方法
【科普】无线电波怎样传送信息?
Codeblocks + Widgets create window code analysis
JsonUtil基于字符串操作josn
一文读懂“语言模型”
延时队列优化 (2)
Tensorflow2.0 混淆矩阵与打印准确率不符
Talking about Contrastive Learning (Contrastive Learning) the first bullet
MindSpore: CV.Rescale(rescale,shift)中参数rescale和shift的含义?
kotlin by lazy
【剑指 Offe】剑指 Offer 17. 打印从1到最大的n位数
Another company interview
Correct pose of Vulkan open feature
运营 23 年,昔日“国内第一大电商网站”黄了...
【Swords Offer】Swords Offer 17. Print n digits from 1 to the largest
中集世联达飞瞳全球工业人工智能AI领军者,全球顶尖AI核心技术高泛化性高鲁棒性稀疏样本持续学习,工业级高性能成熟AI产品规模应用








