提交 66b75988 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Rephrasing and typo fixes.

上级 13002066
...@@ -114,11 +114,10 @@ fails on your machine, you are encouraged to tell us what went wrong on the ...@@ -114,11 +114,10 @@ fails on your machine, you are encouraged to tell us what went wrong on the
.. note:: .. note::
`warn.ignore_bug_before=all` remove warning that you don't need to see here. `warn.ignore_bug_before=all` removes warnings that you don't need to see here.
It is also recommended for new user to put this flag to a different value It is also recommended for a new user to set this flag to a different value
into their .theanorc file. Go into their .theanorc file.
`here <file:///u/bastienf/repos/Theano/html/library/config.html?libdoc-config#config.warn.ignore_bug_before>`__ See :attr:`config.warn.ignore_bug_before` for more details.
for detail.
Troubleshooting: Make sure you have a BLAS library Troubleshooting: Make sure you have a BLAS library
----------------------------------------------------- -----------------------------------------------------
......
...@@ -153,23 +153,26 @@ Config Attributes ...@@ -153,23 +153,26 @@ Config Attributes
Default: 'None' Default: 'None'
When we fix a Theano bug that generated bad result in a case, we also make When we fix a Theano bug that generated bad results under some
Theano raise a warning when it enconter it again. This help to detect if fixed bug circonstances, we also make Theano raise a warning when it encounter
affected your past experiments as you only need to run your experimentand not the same circonstances again. This helps to detect if said bug
understands the Theano internal that trigger the bug. A better way to detect had affected your past experiments, as you only need to run your
that see this will be implemented. See this experiment again with the new version, and you do not have to
`ticket <http://trac-hg.assembla.com/theano/ticket/514>`__. understand the Theano internal that triggered the bug. A better
way to detect that see this will be implemented. See this `ticket
This flags allo new user to don't get warning about old fixed bug <http://trac-hg.assembla.com/theano/ticket/514>`__.
that they don't need. You can set its value to the first version of Theano
that you used(probably 0.3 or higher) This flag allows a new user not to get warnings about old bugs, that were fixed
before their first checkout of Theano.
`None` mean that we should all warning. You can set its value to the first version of Theano
`all` mean to hide all warning. that you used (probably 0.3 or higher)
It is recommended that you put a version, so that you will see futur warning. `None` mean that all warnings will be displayed.
It is also recommended you put this into the .theanorc to have this always `all` mean to hide all warnings.
actif.
It is recommended that you put a version, so that you will see future warning.
It is also recommended you put this into the .theanorc, so this setting
will always be used.
.. attribute:: home .. attribute:: home
......
...@@ -108,15 +108,15 @@ AddConfigVar('experimental.mrg', ...@@ -108,15 +108,15 @@ AddConfigVar('experimental.mrg',
### To disable some warning about old bug that are fixed now. ### To disable some warning about old bug that are fixed now.
### ###
AddConfigVar('warn.ignore_bug_before', AddConfigVar('warn.ignore_bug_before',
"If None, we warn about all Theano bug found by default. If all we don't warn about Theano bug found by default. If a version, we print warning only for Theano bug found after that version.", "If 'None', we warn about all Theano bugs found by default. If 'all', we don't warn about Theano bugs found by default. If a version, we print only the warnings relative to Theano bugs found after that version. Warning for specific bugs can be configured with specific [warn] flags.",
EnumStr('None', 'all', '0.3', allow_override=False)) EnumStr('None', 'all', '0.3', allow_override=False))
default_0_3 = True default_0_3 = True
if config.warn.ignore_bug_before=='None': if config.warn.ignore_bug_before == 'None':
default_0_3 = True default_0_3 = True
elif config.warn.ignore_bug_before=='All': elif config.warn.ignore_bug_before == 'all':
default_0_3 = False default_0_3 = False
elif config.warn.ignore_bug_before>='0.3': elif config.warn.ignore_bug_before == '0.3':
default_0_3 = False default_0_3 = False
AddConfigVar('warn.argmax_pushdown_bug', AddConfigVar('warn.argmax_pushdown_bug',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论