Closed YunjieYu closed 2 years ago
I close this issue because the problem has been solved.
@YunjieYu Would you be able to share the code or branch where you successfully migrated to pytorch3d. I want to use unsup3d as well but on CPU only machine with a rendering animation.
@YunjieYu Would you like to share your codes here? Thanks a lot!
Hi, wu!
I‘m sorry to disturb you again. Inspired from your repo, I just replace the neural renderer with pytorch3d. Specially, I choose MeshRenderer in pytorch3d.
I first eliminated the inconsistency between NMR and PyTorch3D coordinate systems by overriding PerspectiveCameras class in pytorch3d. However, I found that the noise for shape is so big that the network can not learn a reasonable face shape. Note that I have trained the model with 100 epochs. The figure below is a comparison between NMR and PyTorch3D.
NMR:
PyTorch3D:
RasterizationSettings is showed as below:
I noticed that you mentioned one can add a smoothing loss to the depth map for alleviating the noisy depth problem in #9. So can you provide the specific form of such a smoothing loss? I really don't have a clue about this.
Thank you very much!