2016-08-25 2 views
5

I Python vor kurzem installiert 2.7 unter Verwendung von Anaconda auf meinem Windows 10 (x64)Theano: Wohin mit .theanorc Datei für Anaconda Installation? (Windows)

Ich versuche Theano zu installieren, ich bin aber nicht sicher, wo ich die '.theanorc' Datei setzen sollte (für Parameter Theano Einstellung). Ich habe bestätigt, dass Theano funktioniert (geschultes kleines neuronales Netzwerk).

Ich habe versucht, es in C:\Anaconda setzen (wo python.exe und \Lib\os.py sind), aber es scheint nicht wie theano es registriert.

Meine .theanorc Datei

[global] 
floatX=float32 

Als ich

>>> import theano; print(theano.config) 

Typ I erhalten

... 
floatX (('float64', 'float32', 'float16')) 
    Doc: Default floating-point precision for python casts. 

Note: float16 support is experimental, use at your own risk. 
    Value: float64 
... 

Antwort

4

dotfiles werden in der Regel im Verzeichnis %HOME% gespeichert, die auf Windows %USERPROFILE% ist. Dies entspricht C:\Users\username

Verwandte Themen