Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 823 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 823 Bytes

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