【发布时间】:2015-12-13 11:26:28
【问题描述】:
我正在尝试在 linux 机器上安装带有 cuda 和 cudnn 的 tensorflow。我没有 sudo 访问权限,所以我是从源代码构建的。我在这里按照说明操作:https://www.tensorflow.org/versions/master/get_started/os_setup.html#source
我得到了我们得到大量输出的部分:
This tutorial iteratively calculates the major eigenvalue of a 2x2 matrix, on GPU.
The last few lines look like this.
000009/000005 lambda = 2.000000 x = [0.894427 -0.447214] y = [1.788854 -0.894427]
000006/000001 lambda = 2.000000 x = [0.894427 -0.447214] y = [1.788854 -0.894427]
但是在那之后,当我打开python并尝试导入tensorflow时,它说没有这样的模块。
提前致谢。
【问题讨论】:
-
另外,我不明白为什么我们只在这一行中构建 example_trainer: bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer 我们不应该构建整个包?
标签: python-2.7 tensorflow