facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.81k stars 1.32k forks source link

"pytorch3d.loss.point_mesh_distance.point_face_distance" returns different results when running on the CPU and GPU. #1612

Closed JingLi513 closed 1 year ago

JingLi513 commented 1 year ago

"pytorch3d.loss.point_mesh_distance.point_face_distance" returns different results when running on the CPU and GPU.

When I switch the device from CPU to GPU, the mean distance of a pcl to mesh drops from 18 to 0.0018. The result of CPU is similar to kaolin. pytorch3d version: 0.7.4 PyTorch version: 2.0.1 nvcc version: 11.8.89 GCC version: 11.3.0