qgallouedec / panda-gym

Set of robotic environments based on PyBullet physics engine and gymnasium.
MIT License
491 stars 105 forks source link

reproduce the results #94

Open ChenyangRan opened 3 weeks ago

ChenyangRan commented 3 weeks ago

Hi, since the panda-gym cannot set the random seed as gym, where you can use env.set(seed) to reproduce the results. When I use env.reset(seed=10), if the random seed is the same, I get the same return value, such as desired_goal. But if I don't set the seed, I can't guarantee the consistency of the state of the subsequent env.resets. Is there a way to guarantee the consistency of the state of each subsequent reset just like gym?

qgallouedec commented 3 weeks ago

Hey, thanks for the question. It seems like a bug, I'll fix it.