提交 e4f44c5b authored 作者: Frederic's avatar Frederic

Clarified a paragraph following code review.

上级 2d7e59ca
...@@ -177,11 +177,17 @@ The following command will update Theano and Numpy/Scipy (warning bellow): ...@@ -177,11 +177,17 @@ The following command will update Theano and Numpy/Scipy (warning bellow):
sudo pip install --upgrade theano sudo pip install --upgrade theano
If you installed numpy/scipy with yum/apt-get, updating numpy/scipy If you installed NumPy/SciPy with yum/apt-get, updating NumPy/SciPy
this way is not always a good idea. This can make Theano crash due to with pip/easy_install is not always a good idea. This can make Theano
problem with BLAS (We will try to fix them). But, this can also result crash due to problems with BLAS (but see below). The versions of
in slower version of Theano and NumPy. To fix the crash, you can NumPy/SciPy in the distribution are sometimes linked against faster
delete Theano cache like this: versions of BLAS. Installing NumPy/SciPy with
yum/apt-get/pip/easy_install won't install the development package
needed to recompile it with the fast version. This mean that if you
don't install the development packages manually, when you recompile
the updated NumPy/SciPy, it will compile with the slower version. This
results in a slower Theano as well. To fix the crash, you can clear
the Theano cache like this:
.. code-block:: bash .. code-block:: bash
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论