Skip to content

zhiminV/cs7980--VisionTransformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs7980-Capstone

Quickstart

pip install -r requirements.txt

pip install torch torchvision tqdm matplotlib opencv-python pyyaml

If use Cuda, then also install the following

pip install matplotlib==3.6

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

pip install tensorflow_gpu-2.6.0-cp39-cp39-win_amd64.whl

Configuration

config/default.yaml - Allows you to play with different aspects of VIT

How to Run code

If want to see input image: python/python3 VisualizeData.py

If want to visulize embedding, attention and transformer layer: python/python3 testFunction.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages