-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
do-not-reapDo not delete this pull request or issue due to inactivity.Do not delete this pull request or issue due to inactivity.potential-bugPotential bug to flag an issue that needs to be looked intoPotential bug to flag an issue that needs to be looked into
Description
Description
I installed the latest pytorch3d 0.4 and tried to run the fit_textured_mesh tutorial under the Mesh prediction via silhouette rendering section. The loss becomes NaN after around 200 iterations (4 out of 5 times I can reproduce this issue).
I also tried pytorch3d 0.3 (built from source in December), and this issue never happened. Therefore, there might be some issues in the latest update for Mesh Rasterizer.
Reproduce
Install pytorch 1.7.1
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Install pytorch3d using wheels for linux instruction
pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu102_pyt171/download.html
And then simply run the fit_textured_mesh tutorial, you should be able to reproduce results. I can obtain the nan 4 out 5 times I run.
Best,
Songyou
Metadata
Metadata
Assignees
Labels
do-not-reapDo not delete this pull request or issue due to inactivity.Do not delete this pull request or issue due to inactivity.potential-bugPotential bug to flag an issue that needs to be looked intoPotential bug to flag an issue that needs to be looked into