Skip to content

Multilabel classification using ViT (based on facebookresearch dino repo)

Notifications You must be signed in to change notification settings

one-june/vit-multilabel-classification

Repository files navigation

vit-multilabel-classification

Multilabel classification using ViT (based on facebookresearch dino repo)

Classify a single image

python classify_single_image.py --image_path /PATH/TO/IMAGE --checkpoint /PATH/TO/MODEL_CHECKPOINT

Train a classifier

DataLoader is created using torchvision.utils.ImageFolder, so images of each class should be in separate folders whose names are the class names.

--n_classes argument can be used to set the number of labels.

About

Multilabel classification using ViT (based on facebookresearch dino repo)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages