microsoft / resnet-18

huggingface.co
Total runs: 535.6K
24-hour runs: 0
7-day runs: -4.8K
30-day runs: 307.0K
Model's Last Updated: Tháng tư 08 2024
image-classification

Introduction of resnet-18

Model Details of resnet-18

ResNet

ResNet model trained on imagenet-1k. It was introduced in the paper Deep Residual Learning for Image Recognition and first released in this repository .

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 introduced residual connections, they allow to train networks with an unseen number of layers (up to 1000). ResNet won the 2015 ILSVRC & COCO competition, one important milestone in deep computer vision.

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:

>>> from transformers import AutoImageProcessor, AutoModelForImageClassification
>>> import torch
>>> from datasets import load_dataset

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

>>> image_processor = AutoImageProcessor.from_pretrained("microsoft/resnet-18")
>>> model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-18")

>>> inputs = image_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])
tiger cat

For more code examples, we refer to the documentation .

Runs of microsoft resnet-18 on huggingface.co

535.6K
Total runs
0
24-hour runs
-1.8K
3-day runs
-4.8K
7-day runs
307.0K
30-day runs

More Information About resnet-18 huggingface.co Model

More resnet-18 license Visit here:

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

resnet-18 huggingface.co

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

microsoft resnet-18 online free

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

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

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

resnet-18 install

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

resnet-18 install url in huggingface.co:

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

Url of resnet-18

Provider of resnet-18 huggingface.co

microsoft
ORGANIZATIONS

Other API from microsoft

huggingface.co

Total runs: 681.1K
Run Growth: 208.0K
Growth Rate: 30.53%
Updated:Tháng hai 03 2022
huggingface.co

Total runs: 669.4K
Run Growth: -73.9K
Growth Rate: -11.05%
Updated:Tháng Một 27 2026
huggingface.co

Total runs: 595.8K
Run Growth: -131.1K
Growth Rate: -22.00%
Updated:Tháng mười một 25 2025
huggingface.co

Total runs: 511.8K
Run Growth: -531.5K
Growth Rate: -103.84%
Updated:Tháng 12 08 2025
huggingface.co

Total runs: 289.1K
Run Growth: -22.3K
Growth Rate: -7.70%
Updated:Tháng hai 14 2024
huggingface.co

Total runs: 205.4K
Run Growth: -28.8K
Growth Rate: -13.95%
Updated:Tháng hai 12 2022
huggingface.co

Total runs: 117.8K
Run Growth: -147.4K
Growth Rate: -125.12%
Updated:Tháng mười một 08 2023
huggingface.co

Total runs: 117.6K
Run Growth: -1.2K
Growth Rate: -1.03%
Updated:Tháng hai 29 2024
huggingface.co

Total runs: 100.0K
Run Growth: -425
Growth Rate: -0.42%
Updated:Tháng tám 28 2025
huggingface.co

Total runs: 90.8K
Run Growth: -38.6K
Growth Rate: -41.33%
Updated:Tháng tám 04 2021
huggingface.co

Total runs: 69.7K
Run Growth: -13.1K
Growth Rate: -18.74%
Updated:Tháng mười một 25 2025
huggingface.co

Total runs: 68.7K
Run Growth: -18.2K
Growth Rate: -26.47%
Updated:Tháng 12 03 2025
huggingface.co

Total runs: 38.3K
Run Growth: -12.1K
Growth Rate: -30.17%
Updated:Tháng 12 23 2021
huggingface.co

Total runs: 37.5K
Run Growth: -4.7K
Growth Rate: -12.42%
Updated:Có thể 12 2026
huggingface.co

Total runs: 36.5K
Run Growth: -170.4K
Growth Rate: -457.91%
Updated:Tháng 9 26 2022
huggingface.co

Total runs: 32.5K
Run Growth: 28.2K
Growth Rate: 86.85%
Updated:Tháng tư 23 2026
huggingface.co

Total runs: 20.6K
Run Growth: -95.9K
Growth Rate: -459.00%
Updated:Tháng hai 03 2023
huggingface.co

Total runs: 19.4K
Run Growth: 1.4K
Growth Rate: 6.94%
Updated:Bước đều 25 2022
huggingface.co

Total runs: 16.3K
Run Growth: -10.1K
Growth Rate: -58.83%
Updated:Tháng tư 24 2023