[英]configuring theano in windows ? ' where to put the .theanorc.txt
[英]Theano: Where to put .theanorc file for Anaconda installation? (Windows)
我最近在Windows 10(x64)上使用Anaconda安裝了Python 2.7
我正在嘗試安裝Theano,但我不知道應該在哪里放置'.theanorc'文件(用於設置Theano參數)。 我已經證實theano工作(訓練的小神經網絡)。
我試圖把它放在C:\\Anaconda
( python.exe
和\\Lib\\os.py
所在的位置),但它看起來並不像theano注冊它。
我的.theanorc
文件
[global]
floatX=float32
當我輸入
>>> import theano; print(theano.config)
我明白了
...
floatX (('float64', 'float32', 'float16'))
Doc: Default floating-point precision for python casts.
Note: float16 support is experimental, use at your own risk.
Value: float64
...
dotfiles通常存儲在%HOME%
目錄中,在Windows上為%USERPROFILE%
。 這會轉換為C:\\Users\\username
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.