eanswer / DiffHand

[RSS 2021] An End-to-End Differentiable Framework for Contact-Aware Robot Design
http://diffhand.csail.mit.edu
MIT License
124 stars 16 forks source link

Simulation replay takes forever #1

Closed jotix16 closed 1 year ago

jotix16 commented 1 year ago

Thank you for the great work!

I am trying to get familiar with RedMaxDiff and noticed that rendering simulated trajectories takes forever (<=1 fps for hand-sphere). Whereas, simulating itself is very fast (471 fps for hand-sphere and 10k+ fps for finger-torque).

Is that normal? Am I doing something wrong?

Best, Mikel

eanswer commented 1 year ago

Hi MIkel,

That's abnormal. Did you just run the command suggested in the ReadMe? python test_redmax.py --model hand_sphere? The video gif posted in the ReadMe is the expected replay speed.

Best, Jie

eanswer commented 1 year ago

Are you using the --record flag? it takes a long time since it needs to save each frame image into the disk.

Best, Jie

jotix16 commented 1 year ago

hi @eanswer, I tried both and it didn't change anything. Here is a gif with my replay speed: hand_sphere

jotix16 commented 1 year ago

Hi, I apologize for the misleading issues. I just found out that I had some Nvidia drivers issues. Best, Mikel