HorizonRobotics / SocialRobot

Apache License 2.0
71 stars 20 forks source link

Can't set a seed to fix return. #139

Closed www2171668 closed 2 years ago

www2171668 commented 2 years ago

Hello. I see some changes such as "Implement gym.Env.seed()". But I still can't get a fix return. My origin code is ALF. When I use Fetch or Ant env, the seed works. So I don't know how to fix SocialRobot seed to get a gix return.

le-horizon commented 2 years ago

Thanks for the ping.

It seems you are on the right track. This PR https://github.com/HorizonRobotics/SocialRobot/pull/133, and this commit in particular: https://github.com/HorizonRobotics/SocialRobot/pull/133/commits/8bd875373b43dd02d30208176fa097b05bde2ee3 will likely fix the problem (need re-compiling).

The comment about "implement gym.Env.seed()" is just a better way to solve it. We'll look into it, too busy at the moment.

www2171668 commented 2 years ago

Thank you for replying. I will try it.