Kaimaoge / simple-vit

Simple implementation of Vision Transformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleViT

Simple implementation of Vision Transformer for Image Classification.

  • DRL framework : PyTorch

Install

git clone https://github.com/isk03276/SimpleViT
cd SimpleViT
pip install -r requirements.txt

Getting Started

python main.py --dataset-name DATASET_NAME(ex. cifar10) --device DEVICE(ex. cuda, cpu) #train
python main.py --dataset-name DATASET_NAME(ex. cifar10) --device DEVICE(ex. cuda, cpu) --load-from MODEL_PATH --load-model-config #test

Results

- CIFAR-10

- CIFAR-100

About

Simple implementation of Vision Transformer


Languages

Language:Python 100.0%