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

← All models

timm_efficientnet_b2.ra_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

Model card for efficientnet_b2.ra_in1k

A EfficientNet image classification model. Trained on ImageNet-1k in timm using recipe template described below.

Recipe details:

  • RandAugment RA recipe. Inspired by and evolved from EfficientNet RandAugment recipes. Published as B recipe in ResNet Strikes Back.
  • RMSProp (TF 1.0 behaviour) optimizer, EMA weight averaging
  • Step (exponential decay w/ staircase) LR schedule with warmup

Model Details

  • Model Type: Image classification / feature backbone
  • Model Stats:
    • Params (M): 9.1
    • GMACs: 0.9
    • Activations (M): 12.8
    • Image size: train = 256 x 256, test = 288 x 288
  • Papers:
    • EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks: https://arxiv.org/abs/1905.11946
    • ResNet strikes back: An improved training procedure in timm: https://arxiv.org/abs/2110.00476
  • Dataset: ImageNet-1k
  • Original: https://github.com/huggingface/pytorch-image-models

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('efficientnet_b2.ra_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(
    'efficientnet_b2.ra_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, 16, 128, 128])
    #  torch.Size([1, 24, 64, 64])
    #  torch.Size([1, 48, 32, 32])
    #  torch.Size([1, 120, 16, 16])
    #  torch.Size([1, 352, 8, 8])

    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(
    'efficientnet_b2.ra_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, 1408, 8, 8) 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{tan2019efficientnet,
  title={Efficientnet: Rethinking model scaling for convolutional neural networks},
  author={Tan, Mingxing and Le, Quoc},
  booktitle={International conference on machine learning},
  pages={6105--6114},
  year={2019},
  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}}
}
@inproceedings{wightman2021resnet,
  title={ResNet strikes back: An improved training procedure in timm},
  author={Wightman, Ross and Touvron, Hugo and Jegou, Herve},
  booktitle={NeurIPS 2021 Workshop on ImageNet: Past, Present, and Future}
}

Magnet link

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

magnet:?xt=urn:btih:ca9e1d4bd59af121f57d4630b471df799d7e1ee9&dn=timm_efficientnet_b2.ra_in1k

Open magnet in torrent client · infohash ca9e1d4bd59af121f57d4630b471df799d7e1ee9

Files & hashes

PathSizesha1sha256
README.md4.6 KB (4,746 B)96b94930ed090216e08c3caacec9600fa19aa7683fb3ae97ebe3464b1c1c4fd5a92eb8a1a6b788ddfb4246b729540f3347d338cc
config.json638 B (638 B)fc2de889022a7a1392c6b6ec7827bfab3684edf0c661df6cbac745243bb787559fbc781140bf7e2d58869c5d30ffa4e51e0a43da
model.safetensors35.1 MB (36,757,206 B)234aaebc5735586a80f9a92aa7c58482dfa85c45e9adbcce7e5d5055c571c4cafdcc7f920b6a6ec42e643c49dff1aabe1d5f53c5
pytorch_model.bin35.2 MB (36,878,665 B)eea7fcc51ebe39fcb840402d14e6f6ae04f15fdf27f82b064eab49b87e272a0fbf5aa95ce69a3eb9f1bf7685b968d2d1ae5fa532

Cite this release

Canonical URL
https://aiseedbank.org/models/timm_efficientnet_b2.ra_in1k/
Slug
timm_efficientnet_b2.ra_in1k
Infohash
ca9e1d4bd59af121f57d4630b471df799d7e1ee9
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

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

Provenance

Upstream repositorytimm/efficientnet_b2.ra_in1k
Revision (pinned)3577c4a7d84723645311bb5a9e5086f1b62ec8e2
Fetched at2026-09-02T04:49:48Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

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

apache-2.070.2 MB (73,641,255 bytes)timmpytorchsafetensorsimage-classificationtransformerspaper: 2110.00476paper: 1905.11946