Skip to content

Discover how to build vision transformer from scratch with this comprehensive tutorial. Follow our step-by-step guide to create your own vision transformer.

Notifications You must be signed in to change notification settings

MikhailKravets/vision_transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Train Vision Transformer from Scratch

logo

This is the supplementary repository for the tutorial

Build and Train Vision Transformer from Scratch

Install

After you've cloned the repository, you need to install required packages.

Install for CPU / MPS

Run the following command to install packages:

pip install -r requirements.txt

Install for CUDA

Install PyTorch libraries with the command from official web-site:

pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118

Then install the rest of the libraries with the command:

pip install -r requirements-cuda.txt

About

Discover how to build vision transformer from scratch with this comprehensive tutorial. Follow our step-by-step guide to create your own vision transformer.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages