Skip to content

Commit

Permalink
Fixed missing brackets in tensorboard summary.py (#6960)
Browse files Browse the repository at this point in the history
  • Loading branch information
owenonline committed Sep 11, 2024
1 parent 553ca86 commit f4051a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/open3d/visualization/tensorboard_plugin/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def get_or_check_shape(prop, tensor_tuple, exp_shape):
raise ValueError(
f"Property {prop} tensor should have shape[{k}]"
f"={s} for all elements but is "
f"{tensor.shape[k-1] for tensor in tensor_tuple}.")
f"{[tensor.shape[k-1] for tensor in tensor_tuple]}.")

return shape[:2]

Expand Down

0 comments on commit f4051a1

Please sign in to comment.