Points2vols doc fixes

Summary: Fixes to a couple of comments on points to volumes, make the mask work in round_points_to_volumes, and remove a duplicate rand calculation

Reviewed By: nikhilaravi

Differential Revision: D29522845

fbshipit-source-id: 86770ba37ef3942b909baf63fd73eed1399635b6
This commit is contained in:
Jeremy Reizenstein
2021-08-17 05:57:43 -07:00
committed by Facebook GitHub Bot
parent ae1387b523
commit 5491b46511
2 changed files with 13 additions and 9 deletions

View File

@@ -30,8 +30,8 @@ def init_cube_point_cloud(
batch_size: int = 10, n_points: int = 100000, rotate_y: bool = True
):
"""
Generate a random point cloud of `n_points` whose points of
which are sampled from faces of a 3D cube.
Generate a random point cloud of `n_points` whose points
are sampled from faces of a 3D cube.
"""
# create the cube mesh batch_size times