microsoft / resnet-34

huggingface.co
Total runs: 1.4K
24-hour runs: 0
7-day runs: -195
30-day runs: -8.7K
Model's Last Updated: June 27 2023
image-classification

Introduction of resnet-34

Model Details of resnet-34

ResNet-34 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 AutoFeatureExtractor, ResNetForImageClassification
import torch
from datasets import load_dataset

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

feature_extractor = AutoFeatureExtractor.from_pretrained("microsoft/resnet-34")
model = ResNetForImageClassification.from_pretrained("microsoft/resnet-34")

inputs = feature_extractor(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-34 on huggingface.co

1.4K
Total runs
0
24-hour runs
-205
3-day runs
-195
7-day runs
-8.7K
30-day runs

More Information About resnet-34 huggingface.co Model

More resnet-34 license Visit here:

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

resnet-34 huggingface.co

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

microsoft resnet-34 online free

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

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

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

resnet-34 install

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

resnet-34 install url in huggingface.co:

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

Url of resnet-34

Provider of resnet-34 huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 652.7K
Run Growth: -982.2K
Growth Rate: -146.44%
Updated:December 08 2025
huggingface.co

Total runs: 575.6K
Run Growth: 218.2K
Growth Rate: 38.12%
Updated:February 03 2022
huggingface.co

Total runs: 531.0K
Run Growth: 429.5K
Growth Rate: 81.40%
Updated:April 08 2024
huggingface.co

Total runs: 484.5K
Run Growth: -221.9K
Growth Rate: -42.77%
Updated:November 25 2025
huggingface.co

Total runs: 306.0K
Run Growth: 9.8K
Growth Rate: 3.18%
Updated:February 14 2024
huggingface.co

Total runs: 187.3K
Run Growth: -3.1K
Growth Rate: -1.63%
Updated:November 08 2023
huggingface.co

Total runs: 128.6K
Run Growth: -160.0K
Growth Rate: -123.33%
Updated:February 03 2023
huggingface.co

Total runs: 122.1K
Run Growth: -349.4K
Growth Rate: -281.90%
Updated:September 26 2022
huggingface.co

Total runs: 109.1K
Run Growth: -38.1K
Growth Rate: -34.60%
Updated:February 29 2024
huggingface.co

Total runs: 84.2K
Run Growth: -34.3K
Growth Rate: -40.32%
Updated:August 28 2025
huggingface.co

Total runs: 78.5K
Run Growth: -16.0K
Growth Rate: -19.77%
Updated:November 25 2025
huggingface.co

Total runs: 72.1K
Run Growth: -29.7K
Growth Rate: -40.63%
Updated:December 03 2025
huggingface.co

Total runs: 42.4K
Run Growth: -11.8K
Growth Rate: -28.43%
Updated:December 23 2021
huggingface.co

Total runs: 41.0K
Run Growth: 10.0K
Growth Rate: 24.27%
Updated:October 09 2025
huggingface.co

Total runs: 31.0K
Run Growth: -8.1K
Growth Rate: -26.25%
Updated:October 11 2025