* bug#39562: python-keras build fails: test_selu: Not equal to tolerance rtol=1e-07, atol=0 [not found] <87blq51jqu.fsf@ambrevar.xyz> @ 2020-02-11 19:25 ` Gábor Boskovits 2020-03-03 9:24 ` Pierre Neidhardt 0 siblings, 1 reply; 4+ messages in thread From: Gábor Boskovits @ 2020-02-11 19:25 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: 39562 [-- Attachment #1: Type: text/plain, Size: 1630 bytes --] This resembles to the babl issue we are having. Is it possible that this is hardware related? Pierre Neidhardt <mail@ambrevar.xyz> ezt írta (időpont: 2020. febr. 11., Ke 16:19): > Tests fail with: > > --8<---------------cut here---------------start------------->8--- > =================================== FAILURES > =================================== > __________________________________ test_selu > ___________________________________ > > def test_selu(): > x = K.placeholder(ndim=2) > f = K.function([x], [activations.selu(x)]) > alpha = 1.6732632423543772848170429916717 > scale = 1.0507009873554804934193349852946 > > positive_values = get_standard_values() > result = f([positive_values])[0] > assert_allclose(result, positive_values * scale, rtol=1e-05) > > negative_values = np.array([[-1, -2]], dtype=K.floatx()) > > result = f([negative_values])[0] > true_result = (np.exp(negative_values) - 1) * scale * alpha > > > assert_allclose(result, true_result) > E AssertionError: > E Not equal to tolerance rtol=1e-07, atol=0 > E > E Mismatch: 50% > E Max absolute difference: 1.1920929e-07 > E Max relative difference: 1.0726715e-07 > E x: array([[-1.111331, -1.520167]], dtype=float32) > E y: array([[-1.111331, -1.520167]], dtype=float32) > > tests/keras/activations_test.py:226: AssertionError > --8<---------------cut here---------------end--------------->8--- > > See attached log. > > -- > Pierre Neidhardt > https://ambrevar.xyz/ > [-- Attachment #2: Type: text/html, Size: 2131 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39562: python-keras build fails: test_selu: Not equal to tolerance rtol=1e-07, atol=0 2020-02-11 19:25 ` bug#39562: python-keras build fails: test_selu: Not equal to tolerance rtol=1e-07, atol=0 Gábor Boskovits @ 2020-03-03 9:24 ` Pierre Neidhardt 2020-10-05 5:52 ` Maxim Cournoyer 0 siblings, 1 reply; 4+ messages in thread From: Pierre Neidhardt @ 2020-03-03 9:24 UTC (permalink / raw) To: Gábor Boskovits; +Cc: 39562 [-- Attachment #1: Type: text/plain, Size: 144 bytes --] Patch sent: 39880@debbugs.gnu.org. Also see https://github.com/keras-team/keras/issues/13856. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39562: python-keras build fails: test_selu: Not equal to tolerance rtol=1e-07, atol=0 2020-03-03 9:24 ` Pierre Neidhardt @ 2020-10-05 5:52 ` Maxim Cournoyer 2020-10-05 8:31 ` Pierre Neidhardt 0 siblings, 1 reply; 4+ messages in thread From: Maxim Cournoyer @ 2020-10-05 5:52 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: 39562-done Pierre Neidhardt <mail@ambrevar.xyz> writes: > Patch sent: 39880@debbugs.gnu.org. > Also see https://github.com/keras-team/keras/issues/13856. I fixed it with a substitute* instead, and also applied another upstream fix in commit 5f37d7e38e. Thanks for the report! Closing, Maxim ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39562: python-keras build fails: test_selu: Not equal to tolerance rtol=1e-07, atol=0 2020-10-05 5:52 ` Maxim Cournoyer @ 2020-10-05 8:31 ` Pierre Neidhardt 0 siblings, 0 replies; 4+ messages in thread From: Pierre Neidhardt @ 2020-10-05 8:31 UTC (permalink / raw) To: Maxim Cournoyer; +Cc: 39562-done [-- Attachment #1: Type: text/plain, Size: 57 bytes --] Thanks! -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 511 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-05 8:54 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87blq51jqu.fsf@ambrevar.xyz> 2020-02-11 19:25 ` bug#39562: python-keras build fails: test_selu: Not equal to tolerance rtol=1e-07, atol=0 Gábor Boskovits 2020-03-03 9:24 ` Pierre Neidhardt 2020-10-05 5:52 ` Maxim Cournoyer 2020-10-05 8:31 ` Pierre Neidhardt
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.