minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
685 stars 154 forks source link

Goal Location for navigation tasks #727

Open wanghan8866 opened 1 year ago

wanghan8866 commented 1 year ago

Hi, Is there a way to get the exact location for the goal for the navigation task at @v0.4.4? Also, is it possible to set where the goal is or make sure the randomly generated goal is the same by setting the seed?

Thank you in advance!

Miffyli commented 1 year ago

Hmm that is a good question. By default no; the environment does not provide the exact location, and by default the goal is random every time (even if you set the seed. I have not tried this though).

Looking at this, you might get more determistic goal behaviour by setting the final flag in that call to False. As for the exact location, you may need to dig into how Malmö works and see if you can find a handler that provides the exact location.