microsoft / resnet-50

huggingface.co
Total runs: 289.1K
24-hour runs: 0
7-day runs: -24.2K
30-day runs: -22.3K
Model's Last Updated: February 14 2024
image-classification

Introduction of resnet-50

Model Details of resnet-50

ResNet-50 v1.5

ResNet model pre-trained on ImageNet-1k at resolution 224x224. It was introduced in the paper Deep Residual Learning for Image Recognition by He et al.

Disclaimer: The team releasing ResNet did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

ResNet (Residual Network) is a convolutional neural network that democratized the concepts of residual learning and skip connections. This enables to train much deeper models.

This is ResNet v1.5, which differs from the original model: in the bottleneck blocks which require downsampling, v1 has stride = 2 in the first 1x1 convolution, whereas v1.5 has stride = 2 in the 3x3 convolution. This difference makes ResNet50 v1.5 slightly more accurate (~0.5% top1) than v1, but comes with a small performance drawback (~5% imgs/sec) according to Nvidia .

model image

Intended uses & limitations

You can use the raw model for image classification. See the model hub to look for fine-tuned versions on a task that interests you.

How to use

Here is how to use this model to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes:

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])

For more code examples, we refer to the documentation .

BibTeX entry and citation info
@inproceedings{he2016deep,
  title={Deep residual learning for image recognition},
  author={He, Kaiming and Zhang, Xiangyu and Ren, Shaoqing and Sun, Jian},
  booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
  pages={770--778},
  year={2016}
}

Runs of microsoft resnet-50 on huggingface.co

289.1K
Total runs
0
24-hour runs
-4.2K
3-day runs
-24.2K
7-day runs
-22.3K
30-day runs

More Information About resnet-50 huggingface.co Model

More resnet-50 license Visit here:

https://choosealicense.com/licenses/apache-2.0

resnet-50 huggingface.co

resnet-50 huggingface.co is an AI model on huggingface.co that provides resnet-50's model effect (), which can be used instantly with this microsoft resnet-50 model. huggingface.co supports a free trial of the resnet-50 model, and also provides paid use of the resnet-50. Support call resnet-50 model through api, including Node.js, Python, http.

microsoft resnet-50 online free

resnet-50 huggingface.co is an online trial and call api platform, which integrates resnet-50's modeling effects, including api services, and provides a free online trial of resnet-50, you can try resnet-50 online for free by clicking the link below.

microsoft resnet-50 online free url in huggingface.co:

https://huggingface.co/microsoft/resnet-50

resnet-50 install

resnet-50 is an open source model from GitHub that offers a free installation service, and any user can find resnet-50 on GitHub to install. At the same time, huggingface.co provides the effect of resnet-50 install, users can directly use resnet-50 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

resnet-50 install url in huggingface.co:

https://huggingface.co/microsoft/resnet-50

Url of resnet-50

Provider of resnet-50 huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:February 03 2022
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:November 25 2025
huggingface.co

Total runs: 535.6K
Run Growth: 307.0K
Growth Rate: 57.32%
Updated:April 08 2024
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:December 08 2025
huggingface.co

Total runs: 322.5K
Run Growth: -151.7K
Growth Rate: -47.04%
Updated:September 26 2022
huggingface.co

Total runs: 140.6K
Run Growth: 111.6K
Growth Rate: 79.35%
Updated:May 12 2026
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:November 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:February 29 2024
huggingface.co

Total runs: 114.2K
Run Growth: 19.0K
Growth Rate: 16.65%
Updated:February 03 2023
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:August 28 2025
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:November 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:December 03 2025
huggingface.co

Total runs: 52.0K
Run Growth: 26.0K
Growth Rate: 50.00%
Updated:December 23 2021
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:April 23 2026
huggingface.co

Total runs: 31.2K
Run Growth: 9.0K
Growth Rate: 28.07%
Updated:April 24 2023