densenet169-imagenet-torch#
Deeper variant offering improved accuracy while remaining efficient enough for practical deployment.
Details
Model name:
densenet169-imagenet-torchModel source: https://pytorch.org/vision/main/models.html
Model author: Gao Huang, et al.
Model license: BSD 3-Clause
Model size: 54.71 MB
Exposes embeddings? yes
Tags:
classification, embeddings, logits, imagenet, torch, densenet, official
Requirements
Packages:
torch, torchvisionCPU 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("densenet169-imagenet-torch")
12
13dataset.apply_model(model, label_field="predictions")
14
15session = fo.launch_app(dataset)