Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Mar 21, 2022
1 parent 8f99a7c commit 91ce15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/point_transformer_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test(loader):
y_map = torch.empty(loader.dataset.num_classes, device=device).long()
for data in loader:
data = data.to(device)
outs = model(data.x, data.pos, data.batch).argmax(dim=1)
outs = model(data.x, data.pos, data.batch)

sizes = (data.ptr[1:] - data.ptr[:-1]).tolist()
for out, y, category in zip(outs.split(sizes), data.y.split(sizes),
Expand Down

0 comments on commit 91ce15e

Please sign in to comment.