【问题标题】:How to install tensorflow in windows 10 operating system after installed everything still got an error安装完所有东西后如何在Windows 10操作系统中安装tensorflow仍然出现错误
【发布时间】:2020-10-05 13:02:14
【问题描述】:

导入张量流

显示

2020-06-16 07:15:04.362632:W tensorflow/stream_executor/platform/default/dso_loader.cc:55] 无法加载动态库“cudart64_101.dll”; dlerror: 未找到 cudart64_101.dll 2020-06-16 07:15:04.394714: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] 如果您的机器上没有设置 GPU,请忽略上面的 cudart dlerror。

【问题讨论】:

    标签: python tensorflow gpu


    【解决方案1】:

    这篇文章很旧,但如果它对某人有用: 这里的问题是应该安装 Cuda 10.1。您还需要 CuDNN 7.6 才能使用 GPU 运行 tensorflow。所有信息都可以在这里找到:https://www.tensorflow.org/install/source#gpu。顺便说一句,最好使用最新版本的 tensorflow(目前是 CUDA 11.2 和 CuDNN 8.1 的组合)

    【讨论】:

      【解决方案2】:

      大多数人都缺少 vs2019 redist 库。确保安装它

      https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

      【讨论】:

      • 我已经这样做了,错误中仍然存在错误
      • 哦,我没有阅读整个错误.. 安装 cuda 驱动程序并确保将包含该 DLL 的文件夹添加到路径中.. 不要安装最新版本.. 你需要 10.1 版是链接developer.nvidia.com/…
      【解决方案3】:

      安装 tensorflow 所需的一切 和下载所有东西仍然不会得到程序

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-06-04
        • 1970-01-01
        • 1970-01-01
        • 2018-04-10
        • 2021-05-16
        • 1970-01-01
        • 2017-09-29
        相关资源
        最近更新 更多