<!-- # hard line break macro for HTML -->

<a id="model-zoo-resnet-v1-50-imagenet-tf1"></a>

# resnet-v1-50-imagenet-tf1

Classic image recognition model providing reliable categorization and visual features for many applications.

**Details**

- Model name: `resnet-v1-50-imagenet-tf1`
- Model source: [https://github.com/tensorflow/models/tree/archive/research/slim#pre-trained-models](https://github.com/tensorflow/models/tree/archive/research/slim#pre-trained-models)
- Model author: Kaiming He, et al.
- Model license: Apache 2.0
- Model size: 97.84 MB
- Exposes embeddings? yes
- Tags: `classification, embeddings, logits, imagenet, tf1, resnet, legacy`

**Requirements**

- CPU support
  - yes
  - Packages: `tensorflow<2`
- GPU support
  - yes
  - Packages: `tensorflow-gpu<2`

**Example usage**

```python
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "imagenet-sample",
    dataset_name=fo.get_default_dataset_name(),
    max_samples=50,
    shuffle=True,
)

model = foz.load_zoo_model("resnet-v1-50-imagenet-tf1")

dataset.apply_model(model, label_field="predictions")

session = fo.launch_app(dataset)
```
