dotnet / dotnet/machinelearning

[ImageClassification Transfer Learning] - Warning mesage: "Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2"

Open
#4,089 4 comments 1 reaction 0 assignees View on GitHub
area-TensorFlow Priority:2
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

When training with ImageClassifier/TransferLearning I get the following warning about the CPU instructions support (AVX2) from TF.NET or TensorFlow itself:

`"2019-08-07 09:49:00.996153: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2"`

![image](https://user-images.githubusercontent.com/1712635/62665952-257f8f00-b936-11e9-8066-1bfe6aa70ee7.png)

I get it from sample code directly written with Tensorflow.NET and code with ML.NET-Transfer-Learning (since it uses TF.NET)

Possible actions to do:

**1. Do not show this on the UI**
If possible, we shouldn't show this kind of warning as feedback on the UI (command line).but probably only in a log file.

It is a warning shown to the user but the user doesn't have anything actionable thing to do, so why showing it?

**2. Research why and where this is happening and if we can avoid this warning with a different TensorFlow binary?**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.