-
Hello, I am trying to build an image based optimization using theseus. The problem is we need a differentiable render. I was trying to use pytorch3d for this task. The issue is pytorch3d is not vmap friendly. See this issue in their repo for more details. Are there any suggestions for using Theseus with differentiable rendering or any guideline to use pytorch3d with theseus. Any help would be great. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @neanea04, one work around would be to set |
Beta Was this translation helpful? Give feedback.
Hi @neanea04, one work around would be to set
autograd_mode="dense"
when you construct yourAutoDiffCostFunction
. The downside is that if you have a large batch size or many cost functions of the same type it's probably going to be much slower.