Skip to content

Commit

Permalink
fix indexing in test
Browse files Browse the repository at this point in the history
  • Loading branch information
petrikvladimir committed Sep 18, 2023
1 parent 0cf2213 commit ecbc65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_megapose_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_megapose_pipeline(self):
)

scores = data["coarse"]["data"]["logits"]
self.assertGreater(scores[0], scores[1]) # 278 is better than 477
self.assertGreater(scores[0, 0], scores[0, 1]) # 278 is better than 477

self.assertEqual(len(preds), 1)
self.assertEqual(preds.infos.label[0], "ycbv-obj_000002")
Expand Down

0 comments on commit ecbc65c

Please sign in to comment.