Skip to content
Local AI Wizard
Your machine
Theme

resnet-50

microsoft · microsoft/resnet-50

Weights license: Apache 2.0 · code and components may use other terms

Hub downloads · 30 days128.2KPopularity, not quality · read 2026-11-19
Memory needed~3 GB16-bit estimate · not measured
Parameters0 MHub safetensors total
Repository updated2024-02-13A commit is not a release date

Quality

No comparable score

We track no public, comparable benchmark that covers this model yet. No score is inferred.

Reported by the publisher

The publisher's card states no benchmark result for this checkpoint (read 2026-10-25). not published on the card · read 2026-10-25

Runs on

Fast memory holds it 119

The planning estimate fits the memory the model can use quickly: graphics card VRAM, or unified memory within the macOS GPU share.

Show all 119

Hardware profiles grouped by a labelled 16-bit planning estimate from the Hugging Face parameter count (2 bytes per parameter, 20% allowance, 2 GB reserve): classic vision encoders are not usually quantized. Image size and batch change the real requirement. Not a measured fit.

Measured speed

No published measurement for this checkpoint

Tokens per second are shown only when a source publishes them with hardware, build and setup. They are never estimated.

How to run

Runtime compatibility and tokens per second have not been measured for this entry. Published metadata and a memory estimate do not prove a successful local run.

Library in source: transformers

Documented ways to run it

Copied as printed in the linked source (read 2026-10-18); not run by this site.

Transformers · model card · How to use
from transformers import AutoImageProcessor, ResNetForImageClassification
import torch
from datasets import load_dataset

dataset = load_dataset("huggingface/cats-image")
image = dataset["test"]["image"][0]

processor = AutoImageProcessor.from_pretrained("microsoft/resnet-50")
model = ResNetForImageClassification.from_pretrained("microsoft/resnet-50")

inputs = processor(image, return_tensors="pt")

with torch.no_grad():
    logits = model(**inputs).logits

# model predicts one of the 1000 ImageNet classes
predicted_label = logits.argmax(-1).item()
print(model.config.id2label[predicted_label])

Choose my computer

Technical details

What the source and the catalog store for this checkpoint. Missing fields are left out, never zero.

Checkpoint / source
microsoft/resnet-50
Task
image-classification
Architecture
ResNetForImageClassification
Library in source
transformers
Weight license
Apache 2.0
Commercial use
Allowed Apache License 2.0 text (SPDX) · read 2026-10-18license text
Every stored field13 fields
Revision checked
34c2154c194f829b11125337b98c8f5f9965ff19
Architecture
ResNetForImageClassification
Library
transformers
Hub task tag
image-classification
Formats
bin, h5, pytorch, safetensors, transformers
Access
Open download
Publisher kind
Official
Hub parameter count
25,610,152safetensors.total
Repository created
2022-03-16creation is not the model's release
Repository updated
2024-02-13a commit is not a release date
Hub downloads (30 days) · likes
128,245 · 530this repository only · read 2026-11-19
Read from the Hub page
transformers class, task tagsHub overview and file listing · read 2026-10-18
Catalog state
Hub config or weights found; no inventory benchmark link

Sources

Identity and published specifications come from the checkpoint page. Benchmark scores belong to the named release and do not measure speed on your computer.

Valid source snapshot: 2026-11-19. This source record has not received a complete technical review. Missing data remain unknown; a repository commit is not a model release date.