Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring the action space of MiniHack following NLE updates #74

Merged
merged 2 commits into from
Feb 22, 2023

Conversation

samvelyan
Copy link
Member

NLE 0.8.1 release added additional actions which MiniHack inherited. This PR is making sure that models trained on the prior versions of nle can be used on recent minihack versions.

To this end, we introduce a new argument include_see_actions in the base class of MiniHack. When set to True, the agent's action space includes the additional NLE actions introduced in the 0.8.1 release. Has no effect when the actions parameter is specified or if the installed nle version is < 0.8.1. Defaults to True.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 9, 2023
@github-actions github-actions bot added the core label Feb 9, 2023
@samvelyan samvelyan merged commit a552aa4 into main Feb 22, 2023
@samvelyan samvelyan deleted the samvelyan/compatibility branch February 22, 2023 20:13
@samvelyan samvelyan restored the samvelyan/compatibility branch February 22, 2023 20:13
@samvelyan samvelyan deleted the samvelyan/compatibility branch March 20, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants