<!-- # hard line break macro for HTML -->

<a id="model-zoo-squeezenet-imagenet-torch-1-0"></a>

# [squeezenet-imagenet-torch@1.0](mailto:squeezenet-imagenet-torch@1.0)

Ultra-compact image classifier perfect for severely resource-constrained hardware and applications.

**Details**

- Model name: `squeezenet-imagenet-torch@1.0`
- Model source: [https://pytorch.org/vision/main/models.html](https://pytorch.org/vision/main/models.html)
- Model author: Forrest Iandola
- Model license: BSD 2-Clause
- Model size: 4.79 MB
- Exposes embeddings? no
- Tags: `classification, imagenet, torch, squeezenet, official`

**Requirements**

- Packages: `torch, torchvision`
- CPU support
  - yes
- GPU support
  - yes

**Example usage**

```python
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "imagenet-sample",
    dataset_name=fo.get_default_dataset_name(),
    max_samples=50,
    shuffle=True,
)

model = foz.load_zoo_model("squeezenet-imagenet-torch@1.0")

dataset.apply_model(model, label_field="predictions")

session = fo.launch_app(dataset)
```
