cheind / py-motmetrics

:bar_chart: Benchmark multiple object trackers (MOT) in Python
MIT License
1.37k stars 258 forks source link

Assertion error, while testing. #51

Closed Batserine closed 4 years ago

Batserine commented 5 years ago

While running pytest I encountered this error, I followed the procedure as you explained and eventhough I got the result I'm not sure what this error means.

  np.testing.assert_allclose(summary, expected, atol=1e-3)

E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0.001 E
E (shapes (2, 15), (3, 15) mismatch) E x: array([[1.667152e+00, 1.653115e+00, 1.667152e+00, 9.512373e-01, E 9.512373e-01, 1.000000e+00, 1.000000e+00, 0.000000e+00, E 0.000000e+00, 2.010000e+02, 2.010000e+02, 0.000000e+00,... E y: array([[5.57659e-01, 7.29730e-01, 4.51253e-01, 5.82173e-01, 9.41441e-01, E 8.00000e+00, 1.00000e+00, 6.00000e+00, 1.00000e+00, 1.30000e+01, E 1.50000e+02, 7.00000e+00, 7.00000e+00, 5.26462e-01, 2.77201e-01],...

motmetrics/tests/test_metrics.py:143: AssertionError

cheind commented 5 years ago

Ist that master or develop branch? I'm currently in a conference marathon, so my time is unfortunately quite limited.

Batserine commented 5 years ago

this is from master

cheind commented 4 years ago

could you try the develop branch, I don't think that should happen there.

cheind commented 4 years ago

Closing this due to lack of activity. Please reopen if the issue persists.