This document has instructions for running ResNet50 FP32 inference using Intel® Optimizations for TensorFlow*.
Note that the ImageNet dataset is used in these ResNet50 examples. Download and preprocess the ImageNet dataset using the instructions here. After running the conversion script you should have a directory with the ImageNet dataset in the TF records format.
||Runs online inference (batch_size=1).|
||Runs batch inference (batch_size=128).|
||Measures the model accuracy (batch_size=100).|
To run on bare metal, the following prerequisites must be installed in your environment:
Download and untar the model package and then run a quickstart script.
DATASET_DIR=<path to the preprocessed imagenet dataset> OUTPUT_DIR=<directory where log files will be written> wget https://storage.googleapis.com/intel-optimized-tensorflow/models/v2_0_0/resnet50-fp32-inference.tar.gz tar -xzf resnet50-fp32-inference.tar.gz cd resnet50-fp32-inference quickstart/<script name>.sh
LEGAL NOTICE: By accessing, downloading or using this software and any required dependent software (the “Software Package”), you agree to the terms and conditions of the software license agreements for the Software Package, which may also include notices, disclaimers, or license terms for third party software included with the Software Package. Please refer to the license file for additional details.
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804