Unexpected error using mi.load_dict
in loop
#730
Unanswered
jensenzhoujh
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Hi @shallowtoil This seems like a bug. I tried running this myself and am able reproduce the error. Actually, it's not exactly the same error but still an OptiX error. What surprises me is that the loss can be computed without any issues, it's the |
Beta Was this translation helpful? Give feedback.
3 replies
-
A few questions:
|
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 @njroussel ,
I am trying to instantiate the mesh and scene using
mi.load_dict
inside a loop. Basically, I have a data loader sampling a bunch of meshes and for each mesh I will optimize the scene parameters. When using integrated optimization with PyTorch the following error occurs:The following code should be able to re-produce the problem.
When I'm not using the PyTorch integrated version, it works perfectly fine (see below).
Do you have any workaround to resolve this temporarily? I don't want to loop the dataloader outside the file since i need to load a pre-trained model to supervise the update of scene parameters which takes a fair amount of time especially when I evaluate on a large dataset of 3D meshes.
Beta Was this translation helpful? Give feedback.
All reactions