resnet-v2-50-imagenet-tf1#

Improved image classifier with smoother training process and better features for adapting to new tasks.

Details

  • Model name: resnet-v2-50-imagenet-tf1

  • Model source: tensorflow/models

  • Model author: Kaiming He, et al.

  • Model license: Apache 2.0

  • Model size: 97.86 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

 1import fiftyone as fo
 2import fiftyone.zoo as foz
 3
 4dataset = foz.load_zoo_dataset(
 5    "imagenet-sample",
 6    dataset_name=fo.get_default_dataset_name(),
 7    max_samples=50,
 8    shuffle=True,
 9)
10
11model = foz.load_zoo_model("resnet-v2-50-imagenet-tf1")
12
13dataset.apply_model(model, label_field="predictions")
14
15session = fo.launch_app(dataset)