1. <i id='1lqxr'><tr id='1lqxr'><dt id='1lqxr'><q id='1lqxr'><span id='1lqxr'><b id='1lqxr'><form id='1lqxr'><ins id='1lqxr'></ins><ul id='1lqxr'></ul><sub id='1lqxr'></sub></form><legend id='1lqxr'></legend><bdo id='1lqxr'><pre id='1lqxr'><center id='1lqxr'></center></pre></bdo></b><th id='1lqxr'></th></span></q></dt></tr></i><div id='1lqxr'><tfoot id='1lqxr'></tfoot><dl id='1lqxr'><fieldset id='1lqxr'></fieldset></dl></div>
      2. <tfoot id='1lqxr'></tfoot>

          <bdo id='1lqxr'></bdo><ul id='1lqxr'></ul>

        <small id='1lqxr'></small><noframes id='1lqxr'>

        <legend id='1lqxr'><style id='1lqxr'><dir id='1lqxr'><q id='1lqxr'></q></dir></style></legend>
      3. 在没有 AVX 的 CPU 上运行 TensorFlow 2.0

        时间:2023-10-08
        <legend id='aY0O0'><style id='aY0O0'><dir id='aY0O0'><q id='aY0O0'></q></dir></style></legend>

          • <bdo id='aY0O0'></bdo><ul id='aY0O0'></ul>
          • <small id='aY0O0'></small><noframes id='aY0O0'>

              <i id='aY0O0'><tr id='aY0O0'><dt id='aY0O0'><q id='aY0O0'><span id='aY0O0'><b id='aY0O0'><form id='aY0O0'><ins id='aY0O0'></ins><ul id='aY0O0'></ul><sub id='aY0O0'></sub></form><legend id='aY0O0'></legend><bdo id='aY0O0'><pre id='aY0O0'><center id='aY0O0'></center></pre></bdo></b><th id='aY0O0'></th></span></q></dt></tr></i><div id='aY0O0'><tfoot id='aY0O0'></tfoot><dl id='aY0O0'><fieldset id='aY0O0'></fieldset></dl></div>
              <tfoot id='aY0O0'></tfoot>
                    <tbody id='aY0O0'></tbody>
                  本文介绍了在没有 AVX 的 CPU 上运行 TensorFlow 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我想安装和使用 TensorFlow 2.0.我有一台装有 Windows 10 的 PC、Geforce GTX 1080 Ti GPU 和旧的 Intel Xeon X5660 CPU,不支持 AVX.

                  I would like to install and use TensorFlow 2.0. I have a PC with Windows 10, a Geforce GTX 1080 Ti GPU and an old Intel Xeon X5660 CPU, which doesn't support AVX.

                  现在,我的问题是每当我尝试在这台机器上运行任何 TensorFlow 代码时都会出现 DLL 导入错误.我知道 此存储库 为旧版 CPU 提供解决方案,但不幸的是我找不到任何TensorFlow 2.0 包在那里.

                  Now, my problem is that there is a DLL Import error whenever I attempt to run any TensorFlow code on this machine. I know about this repository providing a solution for legacy CPUs but unfortunately I can't find any TensorFlow 2.0 packages there.

                  任何帮助将不胜感激.谢谢.

                  Any help would be highly appreciated. Thank you.

                  推荐答案

                  仓库中有一个全新的wheel文件:

                  There is a brand new wheel file in the repository:

                  https://github.com/fo40225/tensorflow-windows-wheel

                  以下文件运行良好:

                  https://github.com/fo40225/tensorflow-windows-wheel/blob/master/2.0.0/py37/GPU/cuda101cudnn76sse2/tensorflow_gpu-2.0.0-cp37-cp37m-win_amd64.whl

                  如 Readme.md 中所述:

                  As stated in the Readme.md:

                  第一次执行TensorFlow时,编译需要时间."

                  "It will take time for compiling when execute TensorFlow first time."

                  看看这个测试:

                  >>>import tensorflow as tf
                  tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
                  
                  >>>print(tf.__version__)
                  2.0.0
                  
                  >>>from tensorflow.python.client import device_lib
                  >>>print(device_lib.list_local_devices())
                  
                  tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
                  tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties: 
                  name: GeForce GTX 1050 major: 6 minor: 1 memoryClockRate(GHz): 1.531
                  GPU libraries are statically linked, skip dlopen check.
                  Adding visible gpu devices: 0
                  Device interconnect StreamExecutor with strength 1 edge matrix:
                       0
                  0:   N
                  Created TensorFlow device (/device:GPU:0 with 1340 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0, compute capability: 6.1)
                  
                  [name: "/device:CPU:0"
                  device_type: "CPU"
                  memory_limit: 268435456
                  locality {
                  }
                  incarnation: 4456898788177247918
                  , name: "/device:GPU:0"
                  device_type: "GPU"
                  memory_limit: 1406107238
                  locality {
                    bus_id: 1
                    links {
                    }
                  }
                  incarnation: 3224787151756357043
                  physical_device_desc: "device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0, compute capability: 6.1"
                  ]
                  

                  这篇关于在没有 AVX 的 CPU 上运行 TensorFlow 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Python 安装程序:“写入文件 C:Python27pythonw.exe 时出 下一篇:在 Python 3 中更改 Windows 10 背景

                  相关文章

                  最新文章

                    • <bdo id='8qgMP'></bdo><ul id='8qgMP'></ul>
                  1. <i id='8qgMP'><tr id='8qgMP'><dt id='8qgMP'><q id='8qgMP'><span id='8qgMP'><b id='8qgMP'><form id='8qgMP'><ins id='8qgMP'></ins><ul id='8qgMP'></ul><sub id='8qgMP'></sub></form><legend id='8qgMP'></legend><bdo id='8qgMP'><pre id='8qgMP'><center id='8qgMP'></center></pre></bdo></b><th id='8qgMP'></th></span></q></dt></tr></i><div id='8qgMP'><tfoot id='8qgMP'></tfoot><dl id='8qgMP'><fieldset id='8qgMP'></fieldset></dl></div>

                    <legend id='8qgMP'><style id='8qgMP'><dir id='8qgMP'><q id='8qgMP'></q></dir></style></legend>
                    <tfoot id='8qgMP'></tfoot>

                      <small id='8qgMP'></small><noframes id='8qgMP'>