Skip to content

Commit

Permalink
test debug
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnutt committed Jul 8, 2024
1 parent f22428c commit 2412510
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_example_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def test_pytorch_iterdataset():

lengths, centers, coords, types, radii, labels = next(m_iter)

assert list(center.shape) == [3]
assert list(centers.shape) == [BSIZE,3]
np.testing.assert_allclose(coords[0,:lengths[0],:], coordinates.coords.tonumpy())
np.testing.assert_allclose(types[0,:lengths[0]], coordinates.type_index.tonumpy())
np.testing.assert_allclose(radii[0,:lengths[0]], coordinates.radii.tonumpy())
Expand All @@ -459,7 +459,6 @@ def test_pytorch_iterdataset():
assert coords.shape[0] == BSIZE
assert types.shape[0] == BSIZE
assert radii.shape[0] == BSIZE
assert radii.shape[0] == BSIZE
assert labels.shape[0] == BSIZE

e.reset()
Expand Down

0 comments on commit 2412510

Please sign in to comment.