How do I resolve these tensorflow warnings?

后端 未结 7 943
北恋
北恋 2020-12-31 06:36

I just installed Tensorflow 1.0.0 using pip. When running, I get warnings like the one shown below.

W tensorflow/core/platform/cpu_feature_guard.cc:45] The Ten

7条回答
  •  情深已故
    2020-12-31 07:21

    My proposed way to solve the problem:

    #!/usr/bin/env python3
    import os
    import tensorflow as tf
    os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
    

    Should work at least on any Debian or Ubuntu systems.

提交回复
热议问题