Created
August 8, 2012 18:20
-
-
Save amueller/3297265 to your computer and use it in GitHub Desktop.
lbp error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
FAIL: test_texture.TestLBP.test_default | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/andy/checkout/scikits.image/skimage/feature/tests/test_texture.py", line 163, in test_default | |
np.testing.assert_array_equal(lbp, ref) | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 707, in assert_array_equal | |
verbose=verbose, header='Arrays are not equal') | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not equal | |
(mismatch 19.4444444444%) | |
x: array([[ 0., 241., 0., 255., 96., 255.], | |
[ 135., 0., 20., 153., 64., 56.], | |
[ 198., 255., 12., 191., 0., 124.],... | |
y: array([[ 0., 251., 0., 255., 96., 255.], | |
[ 143., 0., 20., 153., 64., 184.], | |
[ 254., 255., 12., 191., 0., 255.],... | |
====================================================================== | |
FAIL: test_texture.TestLBP.test_ror | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/andy/checkout/scikits.image/skimage/feature/tests/test_texture.py", line 173, in test_ror | |
np.testing.assert_array_equal(lbp, ref) | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 707, in assert_array_equal | |
verbose=verbose, header='Arrays are not equal') | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not equal | |
(mismatch 19.4444444444%) | |
x: array([[ 0., 31., 0., 255., 3., 255.], | |
[ 15., 0., 5., 51., 1., 7.], | |
[ 27., 255., 3., 127., 0., 31.],... | |
y: array([[ 0., 127., 0., 255., 3., 255.], | |
[ 31., 0., 5., 51., 1., 23.], | |
[ 127., 255., 3., 127., 0., 255.],... | |
====================================================================== | |
FAIL: test_texture.TestLBP.test_uniform | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/andy/checkout/scikits.image/skimage/feature/tests/test_texture.py", line 183, in test_uniform | |
np.testing.assert_array_equal(lbp, ref) | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 707, in assert_array_equal | |
verbose=verbose, header='Arrays are not equal') | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not equal | |
(mismatch 16.6666666667%) | |
x: array([[ 0., 5., 0., 8., 2., 8.], | |
[ 4., 0., 9., 9., 1., 3.], | |
[ 9., 8., 2., 7., 0., 5.],... | |
y: array([[ 0., 7., 0., 8., 2., 8.], | |
[ 5., 0., 9., 9., 1., 9.], | |
[ 7., 8., 2., 7., 0., 8.],... | |
====================================================================== | |
FAIL: test_texture.TestLBP.test_var | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/andy/checkout/scikits.image/skimage/feature/tests/test_texture.py", line 200, in test_var | |
np.testing.assert_array_almost_equal(lbp, ref) | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 800, in assert_array_almost_equal | |
header=('Arrays are not almost equal to %d decimals' % decimal)) | |
File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 636, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not almost equal to 6 decimals | |
(mismatch 44.4444444444%) | |
x: array([[ 0. , 0.00039254, 0. , 0.00089309, 0.00030782, | |
0.00203232], | |
[ 0.00037561, 0. , 0.00263827, 0.00163246, 0.00027414,... | |
y: array([[ 0. , 0.00072786, 0. , 0.00115376, 0.00032355, | |
0.00252394], | |
[ 0.0005506 , 0. , 0.00263827, 0.00163246, 0.00027414,... | |
-------------------- >> begin captured stdout << --------------------- | |
[[ 0. 0.00039254 0. 0.00089309 0.00030782 0.00203232] | |
[ 0.00037561 0. 0.00263827 0.00163246 0.00027414 0.00039593] | |
[ 0.00170876 0.00130368 0.00042095 0.00171893 0. 0.00044912] | |
[ 0.00021898 0.00019464 0.00082291 0.00225383 0.00076696 0. ] | |
[ 0.00079791 0.00013236 0.0009134 0.0014467 0. 0.00046857] | |
[ 0.00022553 0.00089319 0. 0.00089274 0.00013659 0.00031981]] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment