facebookresearch / minihack

MiniHack the Planet: A Sandbox for Open-Ended Reinforcement Learning Research
Apache License 2.0
478 stars 57 forks source link

[FEATURE] Gymnasium support #92

Closed TheEimer closed 1 year ago

TheEimer commented 1 year ago

🚀 Feature

Upgrading from the (by now pretty old) gym version to gymnasium.

Motivation

Better usability of MiniHack with standard training libraries like SB3.

Pitch

Since gymnasium is becoming the default in more and more training libraries, it would be great to be able to use MiniHack in gymnasium.

Alternatives

-

Additional context

I don't know exactly how much effort that would mean in MiniHack, but I upgraded a package from gym to gymnasium with relatively small effort (for me it was mostly just changing the import, making sure the signature is updated and that the registration still does what it should). So hopefully this could be done fairly quickly.

samvelyan commented 1 year ago

Thanks for the request. Being based on NLE, MiniHack can only support Gymnasium once NLE does. And it seems like there is already an enhancement request for this there: https://github.com/facebookresearch/nle/issues/357.

leor-c commented 4 months ago

It seems that future development of NLE is moving to https://github.com/heiner/nle (source). This new NLE repo already supports gymnasium.