Skip to content

Commit

Permalink
Correcting bug for SemanticKitti.py when using multiple frames
Browse files Browse the repository at this point in the history
  • Loading branch information
HuguesTHOMAS committed May 12, 2021
1 parent 7fefb6a commit 9a49147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasets/SemanticKitti.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def __getitem__(self, batch_i):
new_coords = new_points - pose0[:3, 3]
# new_coords = new_coords.dot(pose0[:3, :3])
new_coords = np.sum(np.expand_dims(new_coords, 2) * pose0[:3, :3], axis=1)
new_coords = np.hstack((new_coords, points[:, 3:]))
new_coords = np.hstack((new_coords, points[rand_order, 3:]))

# Increment merge count
merged_points = np.vstack((merged_points, new_points))
Expand Down

0 comments on commit 9a49147

Please sign in to comment.