NVIDIAGameWorks / kaolin-wisp

NVIDIA Kaolin Wisp is a PyTorch library powered by NVIDIA Kaolin Core to work with neural fields (including NeRFs, NGLOD, instant-ngp and VQAD).
Other
1.45k stars 133 forks source link

Fix Renderer/NeF compatibility check when NeF has multiple inheritance #136

Closed LvisRoot closed 1 year ago

LvisRoot commented 1 year ago

NeF tracer compatibility check fails when it extends multiple classes.

The issue is that the queue append method takes a single element and bu unpacking it with the star operator, when a NeF inherits from multiple classes, the append method fails.

Fixed by avoiding unpacking the base class types for appending to the class names queue.