AI SeedbankHelp preserve open and free AI for humanity's future

← All models

timm_tf_efficientnetv2_s.in21k_ft_in1k

timm · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


tags:

  • image-classification
  • timm
  • transformers library_name: timm license: apache-2.0 datasets:
  • imagenet-1k
  • imagenet-21k

Model card for tf_efficientnetv2_s.in21k_ft_in1k

A EfficientNet-v2 image classification model. Trained on ImageNet-21k and fine-tuned on ImageNet-1k in Tensorflow by paper authors, ported to PyTorch by Ross Wightman.

Model Details

  • Model Type: Image classification / feature backbone
  • Model Stats:
    • Params (M): 21.5
    • GMACs: 5.4
    • Activations (M): 22.7
    • Image size: train = 300 x 300, test = 384 x 384
  • Papers:
    • EfficientNetV2: Smaller Models and Faster Training: https://arxiv.org/abs/2104.00298
  • Dataset: ImageNet-1k
  • Pretrain Dataset: ImageNet-21k
  • Original: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet

Model Usage

Image Classification

from urllib.request import urlopen
from PIL import Image
import timm

img = Image.open(urlopen(
    'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
))

model = timm.create_model('tf_efficientnetv2_s.in21k_ft_in1k', pretrained=True)
model = model.eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # unsqueeze single image into batch of 1

top5_probabilities, top5_class_indices = torch.topk(output.softmax(dim=1) * 100, k=5)

Feature Map Extraction

from urllib.request import urlopen
from PIL import Image
import timm

img = Image.open(urlopen(
    'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
))

model = timm.create_model(
    'tf_efficientnetv2_s.in21k_ft_in1k',
    pretrained=True,
    features_only=True,
)
model = model.eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # unsqueeze single image into batch of 1

for o in output:
    # print shape of each feature map in output
    # e.g.:
    #  torch.Size([1, 24, 150, 150])
    #  torch.Size([1, 48, 75, 75])
    #  torch.Size([1, 64, 38, 38])
    #  torch.Size([1, 160, 19, 19])
    #  torch.Size([1, 256, 10, 10])

    print(o.shape)

Image Embeddings

from urllib.request import urlopen
from PIL import Image
import timm

img = Image.open(urlopen(
    'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
))

model = timm.create_model(
    'tf_efficientnetv2_s.in21k_ft_in1k',
    pretrained=True,
    num_classes=0,  # remove classifier nn.Linear
)
model = model.eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # output is (batch_size, num_features) shaped tensor

# or equivalently (without needing to set num_classes=0)

output = model.forward_features(transforms(img).unsqueeze(0))
# output is unpooled, a (1, 1280, 10, 10) shaped tensor

output = model.forward_head(output, pre_logits=True)
# output is a (1, num_features) shaped tensor

Model Comparison

Explore the dataset and runtime metrics of this model in timm model results.

Citation

@inproceedings{tan2021efficientnetv2,
  title={Efficientnetv2: Smaller models and faster training},
  author={Tan, Mingxing and Le, Quoc},
  booktitle={International conference on machine learning},
  pages={10096--10106},
  year={2021},
  organization={PMLR}
}
@misc{rw2019timm,
  author = {Ross Wightman},
  title = {PyTorch Image Models},
  year = {2019},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.5281/zenodo.4414861},
  howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:4dcfcf16a20cf8adcb92068f4c2d6487918f00bb&dn=timm_tf_efficientnetv2_s.in21k_ft_in1k

Open magnet in torrent client · infohash 4dcfcf16a20cf8adcb92068f4c2d6487918f00bb

Files & hashes

PathSizesha1sha256
README.md4.1 KB (4,203 B)1b9cdd5436fb626a8e81e81842e5b665411eeaf50f287c27f7fd5394053cf9e5f5d809201417a7fca02f88ef4eb821cefd8f8aa1
config.json638 B (638 B)c13f200b415782f81ceba85d42f7a1cd6741d2d7dc47b5c54ec8021e3ef2e02972d8c80ba91ec2fa6bf6b8e76566bf1a4f398c23
model.safetensors82.5 MB (86,523,256 B)f18e6ea108657029f9a9c1b3e4d000a4019b48836f1933fb6c0d760eae03863ad0110570393e16c0610f8fe94dc9f978e52ec59c
pytorch_model.bin82.7 MB (86,711,973 B)41438f5b82d6ed4c3fe55776976eacd2be9e254140ed79ccf7aa9bf1ec4c3d6d816022552ede65601ebedc1fb9304ceb45d8b534

Cite this release

Canonical URL
https://aiseedbank.org/models/timm_tf_efficientnetv2_s.in21k_ft_in1k/
Slug
timm_tf_efficientnetv2_s.in21k_ft_in1k
Infohash
4dcfcf16a20cf8adcb92068f4c2d6487918f00bb
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: timm_tf_efficientnetv2_s.in21k_ft_in1k.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorytimm/tf_efficientnetv2_s.in21k_ft_in1k
Revision (pinned)ea9abc143ea2b9d8e1ec1de277bce02149b9cf0e
Fetched at2026-09-02T04:50:04Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:50:09Z

apache-2.0165.2 MB (173,240,070 bytes)timmpytorchsafetensorsimage-classificationtransformerspaper: 2104.00298