Ich installierte Theano 0.8.2 auf Ubuntu 14.04, lief theano.test()
und erhielt den folgenden Fehler.theano.test() FEHLER: test_grad GradientError: numerischer Gradient und analytischer Gradient überschreiten Toleranz
Was wäre die mögliche Ursache für diesen Fehler?
====================================================================== ERROR: test_grad (theano.tensor.tests.test_basic.ArctanhInplaceTester)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/tests/test_basic.py", line 483, in test_grad eps=_grad_eps)
File "/usr/local/lib/python2.7/dist-packages/theano/tests/unittest_tools.py", line 91, in verify_grad
T.verify_grad(op, pt, n_tests, rng, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/gradient.py", line 1709, in verify_grad abs_tol, rel_tol)
GradientError: GradientError: numeric gradient and analytic gradient exceed tolerance:
At position 4 of argument 0,
abs. error = 3.537018, abs. tolerance = 0.010000
rel. error = 0.013429, rel. tolerance = 0.010000
Exception args:
The error happened with the following inputs:, [array([[ 0.28898013, 0.98691875, -0.37341487],
[-0.83661169, -0.99454761, -0.57619613]], dtype=float32)],
The value of eps is:, None,
The out_type is:, None, Test arctanh_inplace::normal: Error occurred while computing the gradient on the following inputs: [array([[ 0.28898013, 0.98691875, -0.37341487],
[-0.83661169, -0.99454761, -0.57619613]], dtype=float32)]====================================================================== ERROR: test_grad (theano.tensor.tests.test_basic.ArctanhTester) ---------------------------------------------------------------------- Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/tests/test_basic.py", line 483, in test_grad eps=_grad_eps)
File "/usr/local/lib/python2.7/dist-packages/theano/tests/unittest_tools.py", line 91, in verify_grad T.verify_grad(op, pt, n_tests, rng, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/gradient.py", line 1709, in verify_grad abs_tol, rel_tol)
GradientError: GradientError: numeric gradient and analytic gradient exceed tolerance:
At position 4 of argument 0,
abs. error = 3.537018, abs. tolerance = 0.010000
rel. error = 0.013429, rel. tolerance = 0.010000
Exception args:
The error happened with the following inputs:, [array([[ 0.28898013, 0.98691875, -0.37341487],
[-0.83661169, -0.99454761, -0.57619613]], dtype=float32)],
The value of eps is:, None,
The out_type is:, None, Test Elemwise{arctanh,no_inplace}::normal: Error occurred while computing the gradient on the following inputs: [array([[ 0.28898013, 0.98691875, -0.37341487], [-0.83661169, -0.99454761, -0.57619613]], dtype=float32)]----------------------------------------------------------------------
Ran 21747 tests in 7522.578sFAILED (SKIP=84, errors=2)
Vielen Dank.