-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rmetric test failed on my machine #55
Comments
I just pulled down a fresh clone of the master branch and ran all the test and they all passed. Can you get a diff between when it passed for you and when it started failing? Nothing in those two recent merges ought to affect the rmetric code or the test function. |
weird. I also cloned a fresh master branch. ......................................................................................................F.............. |
Yes I have those warnings. They're sparse efficiency warnings when computing the affinity matrix and a warning about the selected eigen solver. I'm very curious why you seem to get a failure on the rmetric but I'm not getting it... |
what blas are u using? I'm using openblas |
I'm using anaconda Here's the relevant package info from conda installation: jmcq@spc114:~$ conda list packages in environment at /home/jmcq/miniconda2:nose 1.3.7 py27_0 defaults |
@jmcq89 okay, i downgrade my numpy to 1.10 which does not use openblas, and the test passed. |
Any idea why 1.11 is causing a failure? |
Could be openblas, but i'm not sure right now. let's discuss on #60 |
rmetric did not pass the test
FAIL: Loads the results from a matlab run and checks that our results
Traceback (most recent call last):
File "/home/jerry/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/jerry/anaconda/lib/python2.7/site-packages/megaman/geometry/tests/test_rmetric.py", line 72, in test_equal_original
assert_allclose( Gtest, G, tol)
File "/home/jerry/anaconda/lib/python2.7/site-packages/numpy/testing/utils.py", line 1391, in assert_allclose
verbose=verbose, header=header)
File "/home/jerry/anaconda/lib/python2.7/site-packages/numpy/testing/utils.py", line 733, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1.04681e+11, atol=0
(mismatch 0.25%)
x: array([[[ 3.104310e+15, 2.125112e+01],
[ 2.119583e+01, 5.400388e+01]],
...
y: array([[[ 4.421211e+15, 4.985776e+01],
[ 5.055786e+01, 5.400388e+01]],
...
-------------------- >> begin captured stdout << ---------------------
('phi.shape = ', (200, 2))
('G.shape = ', (200, 2, 2))
('H.shape = ', (200, 2, 2))
('L.shape = ', (200, 200))
--------------------- >> end captured stdout << ----------------------
Ran 140 tests in 7.220s
FAILED (failures=1)
make: *** [test] Error 1
The text was updated successfully, but these errors were encountered: