"megatron/git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "0d99ae1fe84f8d191abe5ed1c2f4fdc5a9f9a773"
NaN (divide by zero) fix for issue #561 and #790 (#891)
Summary: https://github.com/facebookresearch/pytorch3d/issues/561 https://github.com/facebookresearch/pytorch3d/issues/790 Divide by zero fix (NaN fix). When perspective_correct=True, BarycentricPerspectiveCorrectionForward and BarycentricPerspectiveCorrectionBackward in ../csrc/utils/geometry_utils.cuh are called. The denominator (denom) values should not be allowed to go to zero. I'm able to resolve this issue locally with this PR and submit it for the team's review. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/891 Reviewed By: patricklabatut Differential Revision: D31829695 Pulled By: bottler fbshipit-source-id: a3517b8362f6e60d48c35731258d8ce261b1d912
Showing
Please register or sign in to comment