Downloads · 30 days
10
1% of all-time downloads
keras-io/swin-transformers
swin-transformers is a image classification model from keras-io. Use it when you need a label for an image. It is set up for tf-keras. The card lists the license as cc0-1.0.
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
793
Public
Repo size
9.1 MB
Likes
3
Public
Click a slice to open those files.
.data-00000-of-000013.6 MB · 66%
From the Hugging Face model README
Author: Kelvin Idanwekhai.
Excerpt from the Tutorial:
Swin Transformer (Shifted Window Transformer) can serve as a general-purpose backbone for computer vision. Swin Transformer is a hierarchical Transformer whose representations are computed with shifted windows. The shifted window scheme brings greater efficiency by limiting self-attention computation to non-overlapping local windows while also allowing for cross-window connections. This architecture has the flexibility to model information at various scales and has a linear computational complexity with respect to image size.
The dataset we are using here is called CIFAR-100. The CIFAR-10 dataset consists of 60000 32x32 color images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images.
The dataset is divided into five training batches and one test batch, each with 10000 images. The test batch contains exactly 1000 randomly-selected images from each class. The training batches contain the remaining images in random order, but some training batches may contain more images from one class than another. Between them, the training batches contain exactly 5000 images from each class.