Theano:在哪里放置 Anaconda 安装的 .theanorc 文件? (Windows)
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
...
点文件通常存储在 %HOME%
目录中,在 windows 上是 %USERPROFILE%
。这转化为 C:\Users\username
我最近在 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
...
点文件通常存储在 %HOME%
目录中,在 windows 上是 %USERPROFILE%
。这转化为 C:\Users\username