mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-19 05:40:34 +08:00
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:
committed by
Facebook GitHub Bot
parent
ae1387b523
commit
5491b46511
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user