Article ID: 000058875 Content Type: Error Messages Last Reviewed: 05/20/2022

Encountered Error "Illegal instruction" when Running Model Optimizer on TensorFlow Model Binaries

Environment

OpenVINO 2021.2.185 Up Squared Board with Intel Pentium N4200 (4 cores) Ubuntu 18.04.5 LTS

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Limitations on running Model Optimizer for TensorFlow

Description

Encountered error Illegal instruction when running Model optimizer using various TensorFlow models.

Resolution

The TensorFlow prebuilt model binaries are enabled with Intel® Advanced Vector Extensions (Intel® AVX) instructions. When you're configuring the Model Optimizer by running the install_prerequisites or install_prerequisites.tf scripts, they download only the TensorFlow prebuilt binaries with AVX instructions. The Intel® Pentium® Processor N Series (formerly known as Apollo Lake) does not support AVX; therefore, these processors do not support the TensorFlow prebuilt binaries.