【问题标题】:Run errors while trying to excute Tensorflow tutorial Classify images of clothing尝试执行 Tensorflow 教程时出现错误分类服装图像
【发布时间】:2020-03-15 22:20:08
【问题描述】:

我正在尝试在我的计算机上设置 Tensorflow。我试着按照他们网站上的教程来看看我是否做对了一切。我遵循了关于Classify images of Clothing 的第一个教程。但是当我按照说明进行操作时,会收到以下错误消息:

W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DESKTOP-AQ46N88
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: DESKTOP-AQ46N88
I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

我已经尝试解决第一条错误消息。我发现我没有安装their website 上解释的所有 GPU 支持。但现在它仍然不起作用,我无法弄清楚问题出在哪里,因为我已经安装了所有的 GPU 支持。 谁能向我解释我做错了什么或者我应该安装什么?

【问题讨论】:

    标签: python tensorflow


    【解决方案1】:

    我不记得我在哪里读到了这篇文章,但我记得有人建议你在安装 tensorflow 2 时应该使用 conda 来安装它,而不是 pip。显然,使用 conda 安装将自动安装所有依赖项,而使用 pip 安装则不会。所以我建议卸载 tensorflow 然后使用 conda 重新安装。

    【讨论】:

      【解决方案2】:

      这与我自己的 GPU 有关。我确实安装了 Tensorflow 网站上提到的所有要求,但显然我无法正确安装所有内容,因为我没有 NVIDIA GPU,而是 Intell 提供的。

      【讨论】:

        猜你喜欢
        • 2015-08-07
        • 2021-06-09
        • 1970-01-01
        • 1970-01-01
        • 2021-09-19
        • 1970-01-01
        • 2011-03-31
        • 2018-06-30
        • 1970-01-01
        相关资源
        最近更新 更多