Skip to content

Latest commit

 

History

History
86 lines (58 loc) · 2.66 KB

efficientnet-b0_auto_aug.md

File metadata and controls

86 lines (58 loc) · 2.66 KB

efficientnet-b0_auto_aug

Use Case and High-Level Description

The efficientnet-b0_auto_aug model is one of the EfficientNet models designed to perform image classification, trained with AutoAugmentation preprocessing. This model was pretrained in TensorFlow*. All the EfficientNet models have been pretrained on the ImageNet* image database. For details about this family of models, check out the TensorFlow Cloud TPU repository.

Specification

Metric Value
Type Classification
GFLOPs 0.819
MParams 5.268
Source framework TensorFlow*

Accuracy

Metric Original model Converted model
Top 1 76.43% 76.43%
Top 5 93.04% 93.04%

Input

Original Model

Image, name - image, shape - [1x224x224x3], format is [BxHxWxC], where:

  • B - batch size
  • H - height
  • W - width
  • C - channel

Channel order is RGB.

Converted Model

Image, name - sub/placeholder_port_0, shape - [1x3x224x224], format is [BxCxHxW], where:

  • B - batch size
  • C - channel
  • H - height
  • W - width

Channel order is BGR.

Output

Original Model

Object classifier according to ImageNet classes, name - logits, shape - 1,1000, output data format is B,C where:

  • B - batch size
  • C - predicted probabilities for each class in the logits format

Converted Model

Object classifier according to ImageNet classes, name - efficientnet-b0/model/head/dense/MatMul, shape - 1,1000, output data format is B,C where:

  • B - batch size
  • C - predicted probabilities for each class in the logits format

Download a Model and Convert it into Inference Engine Format

You can download models and if necessary convert them into Inference Engine format using the Model Downloader and other automation tools as shown in the examples below.

An example of using the Model Downloader:

python3 <omz_dir>/tools/downloader/downloader.py --name <model_name>

An example of using the Model Converter:

python3 <omz_dir>/tools/downloader/converter.py --name <model_name>

Legal Information

The original model is distributed under the Apache License, Version 2.0. A copy of the license is provided in APACHE-2.0-TF-TPU.txt.