当前位置:网站首页>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
边栏推荐
- Mysql执行原理剖析
- Basic use of scrapy
- [TypeScript]编译配置
- Tensorflow2.0 confusion matrix does not match printing accuracy
- Spark学习:用spark实现ETL
- 【PHPWord】Quick Start of PHPWord in PHPOffice Suite
- 深入浅出边缘云 | 3. 资源配置
- "Ruffian Heng Embedded Bimonthly" Issue 59
- 【剑指 Offer】剑指 Offer 22. 链表中倒数第k个节点
- 浅聊对比学习(Contrastive Learning)第一弹
猜你喜欢
Deepen school-enterprise cooperation and build an "overpass" for the growth of technical and skilled talents
【总结】1396- 60+个 VSCode 插件,打造好用的编辑器
【PHPWord】Quick Start of PHPWord in PHPOffice Suite
运营 23 年,昔日“国内第一大电商网站”黄了...
VBA connects Access database and Excel
中集世联达工业级成熟航运港口人工智能AI产品规模化应用,打造新一代高效能智慧港口和创新数字港口,全球港航人工智能能领军者中集飞瞳
MindSpore:【JupyterLab】按照新手教程训练时报错
阿里云武林头条活动分享
MindSpore:【JupyterLab】查看数据时报错
C# wpf borderless window add shadow effect
随机推荐
Correct pose of Vulkan open feature
运营 23 年,昔日“国内第一大电商网站”黄了...
VBA connects Access database and Excel
NXP IMX8QXP更换DDR型号操作流程
第14章 类型信息
Scrapy框架介绍
Go 系统收集
LeetCode每日一题(1717. Maximum Score From Removing Substrings)
WeChat Mini Program Cloud Development | Urban Information Management
[Prometheus] An optimization record of the Prometheus federation [continued]
The advanced version of the cattle brushing series (search for rotating sorted arrays, inversion of the specified range in the linked list)
SimpleOSS第三方库libcurl与引擎libcurl错误解决方法
How do radio waves transmit information?
Does the satellite phone communicate directly with the satellite or through a ground station?
AI基础:图解Transformer
WEBSOCKETPP使用简介+demo
Pytorch foundation -- tensorboard use (1)
【hbuilder】运行不了部分项目 , 打开终端 无法输入指令
golang日志库zerolog使用记录
延时队列优化 (2)