[英]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.