efficientnet-b1-imagenet-torch#
Scaled efficient classifier with improved accuracy for slightly larger computational budgets.
Details
Model name:
efficientnet-b1-imagenet-torchModel source: https://huggingface.co/google/efficientnet-b1
Model author: Mingxing Tan and Quoc V. Le
Model license: Apache 2.0
Model size: 120.47 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-b1-imagenet-torch")
12
13dataset.apply_model(model, label_field="predictions")
14
15session = fo.launch_app(dataset)