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

← All models

timm_efficientnet_b0.ra_in1k

timm · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

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_b0.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): 5.3
    • GMACs: 0.4
    • Activations (M): 6.7
    • Image size: 224 x 224
  • 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_b0.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_b0.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, 112, 112])
    #  torch.Size([1, 24, 56, 56])
    #  torch.Size([1, 40, 28, 28])
    #  torch.Size([1, 112, 14, 14])
    #  torch.Size([1, 320, 7, 7])

    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_b0.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, 1280, 7, 7) 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:39e44a5fcaafce9d6643f8ae81929b2ff110c89b&dn=timm_efficientnet_b0.ra_in1k

Open magnet in torrent client · infohash 39e44a5fcaafce9d6643f8ae81929b2ff110c89b

Files & hashes

PathSizesha1sha256
README.md4.6 KB (4,719 B)c3d47c7e64436e369e79c633bb5ab0f698490bf237ff0cceacfdf24a7393c92be3a3a34ad1753f307c8a57562c0dda1a090e31c4
config.json578 B (578 B)13a639ebb2aa187a78940776a4a85237d4372256c8146deb938c28e0e895b1d2d437d204aa757cb76a5d53c76120e259fe4efe92
model.safetensors20.4 MB (21,355,344 B)ecbfa201aa2dc72f8a93474ab95364bb87cc08a5d569899762ea9b1384ee07f4af64805cf8caa1c55f9253ebb1080dc40e87a2cd
pytorch_model.bin20.4 MB (21,441,905 B)634db30d6dcc77745b67b201f4297a36ce138c3652487d0cd13681cf2ae61fdae3c913f45c1d4967e69432a2065da4695ae343fd

Cite this release

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

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

Provenance

Upstream repositorytimm/efficientnet_b0.ra_in1k
Revision (pinned)1b5383e5f79cc0f7fc067e372f8f26a5fa73f26a
Fetched at2026-09-04T06:32:34Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T06:32:36Z

apache-2.040.8 MB (42,802,546 bytes)timmpytorchsafetensorsimage-classificationtransformerspaper: 2110.00476paper: 1905.11946