本文介绍了tensorflow 的 libcublas.so.8.0 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试从 GitHub 运行一个项目:https://github.com/nilboy/pixel-recursive-super-resolution

I am currently trying to run a project from GitHub: https://github.com/nilboy/pixel-recursive-super-resolution

在VM上安装ubuntu后,我使用pip命令安装了带有tensorflow 2.7的python.

After installing ubuntu on VM, I installed python with tensorflow 2.7 using the pip command.

当我尝试使用 python 运行培训课程时,出现此错误:

When I try to run the training session with python I get this error:

导入错误:libcublas.so.8.0:无法打开共享对象文件:没有这样的文件或目录

我找不到完全相同的东西,只有这个错误:导入错误:libcudart.so.8.0:无法打开共享对象文件

I could't find anything exactly the same, only this error: ImportError: libcudart.so.8.0: cannot open shared object file

我使用 Yoga 13,所以我没有 NVIDIA GPU,我正在尝试在 CPU 上运行这个项目.你能帮助识别张量流问题吗?

I am using Yoga 13, so I don't have an NVIDIA GPU and I am trying to run this project on the CPU. Can you help identify the tensorflow problem?

来源:https://www.tensorflow.org/install/install_linux

推荐答案

需要安装Cuda 8.0并配置如下环境:

You need to install Cuda 8.0 and configure the environment as below:

export PATH="$PATH:/usr/local/cuda-8.0/bin"
export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64"

这篇关于tensorflow 的 libcublas.so.8.0 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 05:23