0 Pluspunkte 0 Minuspunkte

Ich bekomme beim starten eines Script immer die Warnung von Tensorflow

I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.

Kann man das ausschalten?

von  

2 Antworten

0 Pluspunkte 0 Minuspunkte
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR)

von  
0 Pluspunkte 0 Minuspunkte

Du kannst eine Umgebungsvariable dazu setzen.

import os 
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'

von (716 Punkte)