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

<a id="model-zoo-inception-v4-imagenet-tf1"></a>

# inception-v4-imagenet-tf1

Enhanced image classifier with deeper architecture improving accuracy for demanding vision tasks.

**Details**

- Model name: `inception-v4-imagenet-tf1`
- Model source: [https://github.com/tensorflow/models/tree/archive/research/slim#pre-trained-models](https://github.com/tensorflow/models/tree/archive/research/slim#pre-trained-models)
- Model author: Christian Szegedy, et al.
- Model license: Apache 2.0
- Model size: 163.31 MB
- Exposes embeddings? yes
- Tags: `classification, embeddings, logits, imagenet, tf1, inception, legacy`

**Requirements**

- CPU support
  - yes
  - Packages: `tensorflow<2`
- GPU support
  - yes
  - Packages: `tensorflow-gpu<2`

**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("inception-v4-imagenet-tf1")

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

session = fo.launch_app(dataset)
```
