• tensorflow 镜像


    https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/

    报错 不支持

    C:Usersrady.condaenvs ensorflowpython.exe E:/www/tensor/1.py
    2019-11-27 11:52:07.417736: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.418080: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE2 instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.418445: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.418773: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.419103: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.419700: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.420229: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
    2019-11-27 11:52:07.420670: W c: f_jenkinshomeworkspace elease-windevicecpuoswindows ensorflowcoreplatformcpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
    b'Hello, TensorFlow!'

    import os
    os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
    可以解决


    import tensorflow as tf
    import os
    os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

    hello = tf.constant('Hello, TensorFlow!')
    sess = tf.Session()
    print(sess.run(hello))
  • 相关阅读:
    gmoj 5439. 【NOIP2017提高A组集训10.31】Calculate
    gmoj 6859. 【2020.11.14提高组模拟】无尽之前 (game)
    CSP2020 函数调用(call)
    gmoj 6841. 【2020.11.5提高组模拟】淘淘蓝蓝之树 林
    gmoj 6839. 【2020.11.5提高组模拟】淘淘蓝蓝喜欢 01串
    6843. 【2020.11.02提高组模拟】移形换影
    gmoj 6844. 【2020.11.02提高组模拟】旅途和生活
    gmoj 6845. 【2020.11.02提高组模拟】梯度弥散
    Codeforces1445C.Division
    Codeforces1445D. Divide and Sum
  • 原文地址:https://www.cnblogs.com/brady-wang/p/11941275.html
Copyright © 2020-2023  润新知