[英]spyder: python: theano: How to disable warnings in spyder?
I running machine learning algo's with theano. 我与theano一起运行机器学习算法。 I have been getting lot of warnings of DeprecationWarning.
我已经收到很多有关DeprecationWarning的警告。 coming from numpy package.
来自numpy软件包。 I want to disable this warnings pls suggest option.
我想禁用此警告请建议选项。 warning nature:fromnumeric.py:932: DeprecationWarning: converting an array with ndim > 0 to an index will result in an error in the future
警告性质:fromnumeric.py:932:DeprecationWarning:将ndim> 0的数组转换为索引将在将来导致错误
I tried following run configure added command line option -W ignore or -W ignore::DeprecationWarning but none of this is working 我尝试了以下运行配置添加的命令行选项-Wignore或-Wignore :: DeprecationWarning,但是这些都不起作用
alternatively fixing the warning solution is fine for me. 或者,修复警告解决方案对我来说很好。 looks like its fixed in theano https://groups.google.com/forum/#!topic/theano-users/Hf7soRrnh8w but I dont know where to find this updated version of theano
看起来像固定在theano https://groups.google.com/forum/#!topic/theano-users/Hf7soRrnh8w中,但我不知道在哪里可以找到theano的更新版本
I am using Anaconda distribution 2.0.1 windows 8.1 - 64 bit 我正在使用Anaconda发行版2.0.1 Windows 8.1-64位
thanks 谢谢
See this link to update Theano to the development version. 请参阅此链接以将Theano更新为开发版本。 I should be fixed:
我应该解决:
http://deeplearning.net/software/theano/install.html#bleeding-edge-install-instructions http://deeplearning.net/software/theano/install.html#bleeding-edge-install-instructions
In resume, run one of those 2 command: 在简历中,运行以下两个命令之一:
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
or (if you want to install it for the current user only): 或(如果您只想为当前用户安装它):
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git --user
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.