Skip to content

Commit a5cbb62

Browse files
Simon Moisselinfacebook-github-bot
Simon Moisselin
authored andcommitted
Fix typo in chamfer loss docstring (#862)
Summary: y_lengths is about `y`, not `x`. Pull Request resolved: #862 Reviewed By: bottler Differential Revision: D31304434 Pulled By: patricklabatut fbshipit-source-id: 1db4cd57677fc018c229e02172f95ffa903d75eb
1 parent 720bdf6 commit a5cbb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch3d/loss/chamfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def chamfer_distance(
9191
x_lengths: Optional LongTensor of shape (N,) giving the number of points in each
9292
cloud in x.
9393
y_lengths: Optional LongTensor of shape (N,) giving the number of points in each
94-
cloud in x.
94+
cloud in y.
9595
x_normals: Optional FloatTensor of shape (N, P1, D).
9696
y_normals: Optional FloatTensor of shape (N, P2, D).
9797
weights: Optional FloatTensor of shape (N,) giving weights for

0 commit comments

Comments
 (0)