Open robpegurri opened 3 weeks ago
Hi, I am facing the same issue. When I change the orientation, I receive the error message: 'The kernel appears to have died. It will restart automatically.' Have you found a solution to this problem?
Similarly, when I change the position of an object twice (the first time, the program runs normally), I also encounter this error. I’ve tried running this locally and on Colab with both GPU and CPU, but nothing seems to work.
The code I’m using is simplified to just a few lines, but it still reports the error.
scene=load_scene("./scene.xml")
selected_objects = random.sample( [obj for obj in scene.objects.values()], k=1)
for obj in selected_objects:
obj.orientation = (np.pi, 0, 0)
Hello @robpegurri and @Leeyyhh,
Could you please try the following and let us know if it solves the crash?
new_orientation = (np.pi, 0, 0)
obj.orientation = type(obj.orientation)(new_orientation)
Hello everyone, I'm having some headaches trying to change the orientation of an object to any value: the kernel always crashes.
All I'm doing is simply setting:
object.orientation = [new_angle*np.pi/180, 0, 0]
. The same happens if, just for testing, I put[0, 0, 0]
.All I can see from terminal is:
Critical Dr.Jit compiler failure: jit_var(r0): unknown variable! Aborted (core dumped)
I really can't understand what's wrong here, the .position is working flawlessly. Has anybody any idea? Thanks!