Neural SDF #1444
Unanswered
zichenwang01
asked this question in
Q&A
Neural SDF
#1444
Replies: 1 comment
-
I'm not familiar enough with torch to give you pointers to what could be going wrong here just based off of that error message. One thing to note though, depending on how you wrote the rendering code itself, you will need be using the evaluated mode of Dr.Jit. This wasn't necessary in the tutorial you linked, because the neural parts happened after the render process, and not in middle of it as is the case here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I wanted to code up a neural SDF differentiable renderer but am not too sure how to do this with Mitsuba. Specifically, I want to instantiate the neural SDF in PyTorch but code the differentiable renderer part in Mitsuba, and in the end my goal is to optimize the neural SDF.
I took a detailed read on this and came up with the following: I tried wrapping the torch neural sdf class with a Mitsuba class, so that in my differentiable render I can call the sdf methods as if everything is in Mitsuba
but then I realized I needed a torch optimizer to optimize the torch module, which means that my loss also needs to be a torch tensor. So I did more tricks to try to come around this--
But anyhow right now I am getting the following error message--
This seems a bit complicated and I am not sure what is the correct to do this in Mitsuba. Has anyone in the Mitsuba team tried similar things before? Any suggestions on how to make this work would be greatly appreciated!
Happy holidays,
Zichen
Beta Was this translation helpful? Give feedback.
All reactions