成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

17篇注意力機制PyTorch實現,包含MLP、Re-Parameter系列熱門論文

新聞 人工智能
該項目共用 Pytorch 實現了 17 篇注意力機制論文。每篇論文包括題目(可直接鏈接到論文)、網絡架構、代碼。

 [[415286]]

注意力(Attention)機制最早在計算機視覺中應用,后來又在 NLP 領域發揚光大,該機制將有限的注意力集中在重點信息上,從而節省資源,快速獲得最有效的信息。

2014 年,Google DeepMind 發表《Recurrent Models of Visual Attention》,使注意力機制流行起來;2015 年,Bahdanau 等人在論文《Neural Machine Translation by Jointly Learning to Align and Translate》中,將注意力機制首次應用在 NLP 領域;2017 年,Google 機器翻譯團隊發表的《Attention is All You Need》中,完全拋棄了 RNN 和 CNN 等網絡結構,而僅僅采用注意力機制來進行機器翻譯任務,并且取得了很好的效果,注意力機制也因此成了研究熱點。

經過幾年的發展,領域內產生了眾多的注意力機制論文研究,這些工作在 CV、NLP 領域取得了較好的效果。近日,在 GitHub 上,有研究者介紹了 17 篇關于注意力機制論文的 PyTorch 的代碼實現以及使用方法。

17篇注意力機制PyTorch實現,包含MLP、Re-Parameter系列熱門論文

項目地址:https://github.com/xmu-xiaoma666/External-Attention-pytorch

項目介紹

項目作者對注意力機制進行了分類,分為三個系列:Attention 系列、MLP 系列、ReP(Re-Parameter)系列。其中 Attention 系列中包含有大名鼎鼎的《Attention is All You Need》等 11 篇論文;最近比較熱門的 MLP 系列包括谷歌的 MLP-Mixer、gMLP ,Facebook 的 ResMLP,清華的 RepMLP ;此外,ReP(Re-Parameter)系列包括清華等提出的 RepVGG、 ACNet。

Attention 系列的 11 篇 Attention 論文 Pytorch 實現方式如下:

17篇注意力機制PyTorch實現,包含MLP、Re-Parameter系列熱門論文
  • Pytorch 實現論文「Beyond Self-attention: External Attention using Two Linear Layers for Visual Tasks---arXiv 2020.05.05」
  • Pytorch 實現論文「Attention Is All You Need---NIPS2017」
  • Pytorch 實現論文「Simplified Self Attention Usage」
  • Pytorch 實現論文 「Squeeze-and-Excitation Networks---CVPR2018」
  • Pytorch 實現論文「Selective Kernel Networks---CVPR2019」
  • Pytorch 實現論文「CBAM: Convolutional Block Attention Module---ECCV2018」
  • Pytorch 實現論文「BAM: Bottleneck Attention Module---BMCV2018」
  • Pytorch 實現論文「ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks---CVPR2020」
  • Pytorch 實現論文「Dual Attention Network for Scene Segmentation---CVPR2019」
  • Pytorch 實現論文「EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network---arXiv 2020.05.30」
  • Pytorch 實現論文 「ResT: An Efficient Transformer for Visual Recognition---arXiv 2020.05.28」

MLP(多層感知機)系列中,包含 篇論文 Pytorch 實現方式,論文如下:

17篇注意力機制PyTorch實現,包含MLP、Re-Parameter系列熱門論文
  • Pytorch 實現論文「RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognition---arXiv 2020.05.05」
  • Pytorch 實現論文「MLP-Mixer: An all-MLP Architecture for Vision---arXiv 2020.05.17」
  • Pytorch 實現論文「ResMLP: Feedforward networks for image classification with data-efficient training---arXiv 2020.05.07」
  • Pytorch 實現論文「Pay Attention to MLPs---arXiv 2020.05.17」

ReP(Re-Parameter)系列中,包含 篇論文 Pytorch 實現方式,論文如下:

17篇注意力機制PyTorch實現,包含MLP、Re-Parameter系列熱門論文
  • Pytorch 實現論文「RepVGG: Making VGG-style ConvNets Great Again---CVPR2021」
  • Pytorch 實現論文「ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blocks---ICCV2019」

總結來說,該項目共用 Pytorch 實現了 17 篇注意力機制論文。每篇論文包括題目(可直接鏈接到論文)、網絡架構、代碼。示例如下:

論文:「Beyond Self-attention: External Attention using Two Linear Layers for Visual Tasks」。

網絡框架:

17篇注意力機制PyTorch實現,包含MLP、Re-Parameter系列熱門論文

代碼:

  1. from attention.ExternalAttention *import* ExternalAttention 
  2. import torch 
  3.  
  4.  
  5. input=torch.randn(50,49,512
  6. ea = ExternalAttention(d_model=512,S=8
  7. output=ea(input) 
  8. print(output.shape) 

 

 

責任編輯:張燕妮 來源: 機器之心Pro
相關推薦

2023-07-30 15:42:45

圖神經網絡PyTorch

2018-08-26 22:25:36

自注意力機制神經網絡算法

2024-07-16 14:15:09

2024-04-03 14:31:08

大型語言模型PytorchGQA

2024-09-19 10:07:41

2025-02-19 15:30:00

模型訓練數據

2024-11-04 10:40:00

AI模型

2025-02-24 13:00:00

YOLOv12目標檢測Python

2024-10-31 10:00:39

注意力機制核心組件

2024-06-28 08:04:43

語言模型應用

2024-12-09 00:00:10

2020-09-17 12:40:54

神經網絡CNN機器學習

2024-08-12 08:40:00

PyTorch代碼

2024-12-04 09:25:00

2023-05-05 13:11:16

2025-02-25 10:21:15

2021-02-02 14:47:58

微軟PyTorch可視化

2025-02-25 09:40:00

模型數據AI

2024-12-17 14:39:16

2022-02-21 09:25:57

VR研究Nature
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 中文字幕在线看人 | 精品国产乱码久久久久久图片 | 99福利视频 | 狠狠亚洲| 日韩一级免费观看 | 国产精品久久久久久久久久久久久久 | 久久蜜桃精品 | 午夜激情免费视频 | 中文字幕高清一区 | 国产二区在线播放 | 久久久久久久久久久久久久av | 亚洲国产精品久久久久秋霞不卡 | 国产免费视频在线 | 日韩中文视频 | 精品国产91久久久久久 | 麻豆国产一区二区三区四区 | 午夜爽爽爽男女免费观看影院 | 亚洲视频手机在线 | 亚洲视频一区在线播放 | 中文字幕一级毛片 | 精品国产乱码一区二区三区a | 一区二区av | 成人在线看片 | 久草福利 | 一级毛片视频免费观看 | 日韩久草 | 日韩手机在线视频 | 国产精品久久久久久妇女6080 | 国产免费一区二区三区网站免费 | 欧美激情视频网站 | 99精品免费久久久久久久久日本 | 亚洲一区二区三区 | 成人亚洲在线 | av中文字幕在线观看 | 久热国产精品 | 久久综合一区 | 91在线看片 | 亚洲视频一区二区三区 | 日本精品久久久久 | 九九亚洲精品 | 免费视频二区 |