AIcrowd / real_robots

Gym environments for Robots that learn to interact with the environment autonomously
https://www.aicrowd.com/challenges/neurips-2019-robot-open-ended-autonomous-learning
MIT License
34 stars 18 forks source link

Fix goal miss match right after env reset - #23 #24

Closed tkyaaida closed 4 years ago

tkyaaida commented 4 years ago

I fixed the problem described in #23. I'm not sure what is the best way to write test code for this. Everything is encapsulated in evaluate() and it's very hard to write a test to check if obs['goal'] contains proper goal. I simply added an assert statement in evaluate.py, but I would love to improve my code if you have a better idea.

emilio-cartoni commented 4 years ago

Problem has been fixed in 695c253774a3385ea3d0138539739bd5bbd3c1a6.