我想在linux機器上安裝cuda和cudnn的tensorflow。我沒有sudo訪問權限,所以我從源代碼構建。我也跟着指示進行:https://www.tensorflow.org/versions/master/get_started/os_setup.html#source無法在源代碼編譯後在python中導入tensorflow
我,直到我們得到大量輸出的一部分:
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: 巴澤勒建立-c選擇--config = CUDA // tensorflow/CC:tutorials_example_trainer 我們不應該建全包? – abora