efficientnet-b2-imagenet-torch#
Balanced efficient model providing stronger performance while maintaining reasonable resource usage.
Details
Model name:
efficientnet-b2-imagenet-torchModel source: https://huggingface.co/google/efficientnet-b2
Model author: Mingxing Tan and Quoc V. Le
Model license: Apache 2.0
Model size: 140.63 MB
Exposes embeddings? no
Tags:
classification, imagenet, torch, transformers, efficientnet, official
Requirements
Packages:
torch, torchvision, transformersCPU support
yes
GPU support
yes
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("efficientnet-b2-imagenet-torch")
12
13dataset.apply_model(model, label_field="predictions")
14
15session = fo.launch_app(dataset)