pytorch3d
pytorch3d copied to clipboard
the use of the normals_packed()
In this way, it turns out that normal is None. I check the api and find there's a return value of estimate_nomals(). I'd like to know how to ues normals_packed() after 'estimate'.
If you want to use normals_packed()
to return the value calculated by a previous estimate_nomals()
, you just need to set assign_to_self=True
in that call to estimate_nomals()
. If you don't set that, then estimate_nomals acts as a pure function.
See https://github.com/facebookresearch/pytorch3d/blob/main/pytorch3d/structures/pointclouds.py#L1044