---
title: resnet50
canonical_url: "https://www.modelscope.cn/models/nateraw/resnet50"
md_url: "https://www.modelscope.cn/models/nateraw/resnet50.md"
repository: nateraw/resnet50
last_updated: 2024-11-21
pipeline_tag: image-classification
tasks:
  - image-classification
model_type:
  - resnet
library_name:
  - pytorch
frameworks:
  - pytorch
downloads: 1849
stars: 0
tags:
  - image-classification
  - pytorch
---

# resnet50

> resnet50 - nateraw 在 ModelScope 开源的模型。Resnet50 Model from Torchvision

- **Repository**: nateraw/resnet50
- **Tasks**: image-classification
- **Tags**: image-classification, pytorch
- **Downloads**: 1849
- **Stars**: 0
- **Last updated**: 2024-11-21

Source: https://www.modelscope.cn/models/nateraw/resnet50

---

# Resnet50 Model from Torchvision

## Using the model

```
pip install modelz
```

```python
from modelz import ResnetModel

model = ResnetModel.from_pretrained('nateraw/resnet50')
ex_input = torch.rand(4, 3, 224, 224)
out = model(ex_input)
```
