Categories : TensorFlow
TensorFlow 'tf_enable_onednn_opts=0' Error
TensorFlow Error 경험
TensorFlow Error 소개
2025-01-14 17:54:21.357200: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2025-01-14 17:54:23.565144: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
‘TF_ENABLE_ONEDNN_OPTS=0’ 오류의 해결방법
0. TensorFlow 에러해결
- tensorflow 를 import 하기전 os 변수를 지정시켜주기
import os os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0' import tensorflow as tf
이 방법이 케바케 없이 오류 해결완료됨.
- 시스템 환경변수에 변수 지정하기
이 방법은 오류 그대로 뱉어냈었음.