当前位置:网站首页>注意力机制及代码实现
注意力机制及代码实现
2022-07-28 17:06:00 【@BangBang】
博客来源于: Pytorch 图像处理中注意力机制的解析与代码详解
什么是注意力机制
注意力机制是CV深度学习里面常用到的一个小技巧,注意力机制的核心就是让网络去关注到它所需要关注的地方。
当我们使用卷积网络去处理图片的时候,我们希望网络去关注应该注意的地方,而不是什么都关注。我们肯定不能自己手动去条件需要注意的地方,这个时候如何让卷积网络去自适应注意重要的位置就变得极为重要了。
注意力机制就是实现网络自适应注意的一个方式,注意力机制可分为:通道注意力机制,空间注意力机制,通道空间注意力机制.
- 通道注意力机制: 沿通道方向自适应发现哪些
feature map比较重要,然后网络更关注重要的语义特征。 - 空间注意力机制: 自适应发现我们的feature map哪些
区域是比较重要的,然后网络会更加关注这些重要的区域。 - 空间通道注意力机制: 沿通道维和空间维度,去寻找重要的feature map以及feature map中的区域,让网络重点关注重要的地方。
SENet的实现
SENet是通道注意力机制的典型实现。
2017年提出的SENet
边栏推荐
- 数字化洪流 :企业转型中的资源重组与战略冲突
- MongoDB数据库复制表
- What skills do you need to master when learning software testing zero foundation?
- Wired: who owns the art of the future? Openai allows dall-e users to commercialize their works. At present
- What is the future of software testing?
- 数字化转型中的DevOps——弹性合作
- MongoDB数据库shell命令执行
- 2022年中国企业服务产业市场行情
- GO exe生成图标版本信息
- Brief introduction to the principle of spectrometer II
猜你喜欢

MYSQL入门与进阶(四)

记录自己在厦门两年来的面试经历--完结篇

APP为什么用JSON协议与服务端交互:序列化相关知识

MYSQL入门与进阶(十)

Apple develops a complete creation process of Apple certificate and description file

MYSQL入门与进阶(六)

1.3、链表

Tencent Tang Daosheng: open source is a new mode of production and collaboration in the era of industrial Internet

When golang encounters high concurrency seckill

Redis缓存雪崩、穿透、击穿,布隆过滤器,分布式锁详解
随机推荐
EasyNLP中文文图生成模型带你秒变艺术家
Golang concurrent lock
UE5 GAS 学习笔记 1.1能力系统组件Ability System Component
Zen project management software is an indispensable tool for agile development teams
redis优势以及数据结构相关知识
Bubble sorting and Related videos
Gateway入门
MYSQL入门与进阶(六)
Golang is packaged and released to various platforms
实验楼----PHP大法
LeetCode_ 343_ integer partition
UE5 GAS 学习笔记 1.10 预测(Prediction)
What are the conditions for zero foundation learning software testing?
Introduction and advanced level of MySQL (10)
Introduction and advanced level of MySQL (9)
C# 之 观察者模式实例 -- 订牛奶
Random talk on GIS data (VI) - projection coordinate system
Is it difficult for novices to change careers through self-study software testing?
DC simulation example of ADS simulation
Six countries in Europe and the United States launched an express line product to optimize the "end-to-end" performance service on the 5th