alexnet-imagenet-torch#

Classic neural network that recognizes images and helped launch the deep learning revolution.

Details

  • Model name: alexnet-imagenet-torch

  • Model source: https://pytorch.org/vision/main/models.html

  • Model author: Alex Krizhevsky

  • Model license: BSD 3-Clause

  • Model size: 233.10 MB

  • Exposes embeddings? yes

  • Tags: classification, embeddings, logits, imagenet, torch, alexnet, official

Requirements

  • Packages: torch, torchvision

  • CPU 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("alexnet-imagenet-torch")
12
13dataset.apply_model(model, label_field="predictions")
14
15session = fo.launch_app(dataset)