Skip to content

DanBeverley/ViT-Transformer-Replicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ViT-Transformer-Replicate with Pytorch

Implementation of Vision Transformer (ViT) in Pytorch. Presented in the paper, An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale

Model Overall

image

Vision Transformer achieve State-of-the-Art in image recognition task with standard Transformer encoder and fixed-size patches. In order to perform classification, author use the standard approach of adding an extra learnable "classification token" to the sequence.

image

Implementation

Code was written using Pytorch , trained on CIFAR10 . ViT is a data hungry model , the more data there is the better the model will perform . Feel free to use any dataset you like

Releases

No releases published

Packages

No packages published