ich installieren Theanos auf Ubuntu 14.04 mit folgenden Befehlen:Theano fehlt nvcc Compiler
sudo apt-get install python3-numpy python3-scipy python3-dev python3-pip python3-nose g++ libopenblas-dev git
sudo pip install Theano
I cuda7.5 installiert haben. Wenn ich ncvv --version
laufen lasse, erhalte ich folgende Meldung:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
Ich kann nicht Theanos gpu-Version. Mein Befehl und Fehlermeldung ist hier:
$sudo THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python test1.py
ERROR (theano.sandbox.cuda): nvcc compiler not found on $PATH. Check your nvcc installation and try again.
[Elemwise{exp,no_inplace}(<TensorType(float32, vector)>)]
Looping 1000 times took 2.507168 seconds
Result is [ 1.23178029 1.61879337 1.52278066 ..., 2.20771813 2.29967761
1.62323284]
Used the cpu
Verwenden Sie nicht Sudo vor Befehl. Zeige die Ergebnisse des Befehls: "sudo which nvcc". – 404pio
Wenn ich nicht benutze, erhalte ich die Erlaubnis verweigert Fehler. leeres Ergebnis '$ sudo which nvcc $' – zumma
Wenn Sie sude dann Ihren Weg env nicht sehen nvcc – 404pio