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

Truncate observation spaces beyond walls #236

Open
vkopio opened this issue Sep 27, 2022 · 2 comments
Open

Truncate observation spaces beyond walls #236

vkopio opened this issue Sep 27, 2022 · 2 comments

Comments

@vkopio
Copy link
Contributor

vkopio commented Sep 27, 2022

To make the observations of the agents more realistic, the observations beyond walls could be truncated so that the agents couldn't see through walls.

Ideally, this would be a toggleable feature, for example in GDY.

@Bam4d
Copy link
Owner

Bam4d commented Sep 27, 2022

OK, so be a bit more specific here... when you say "truncated" what do you mean. Th observations space would stay the same but then the "unseeable" elements would be what exactly?

I envisage in vector observations we can have add a category to the object-type one-hot that represents "not visible" or we could just make the whole cell zeros.

in Sprite2D and Block2D observations I imaging we just make those cells black?

@vkopio
Copy link
Contributor Author

vkopio commented Sep 27, 2022

I do not have strong opinions about the implementation details. Just that the agent would not notice any changes in the observation space if something happened behind a wall. Having those parts zeros would be the most convenient in my case, though.

In the visual representation, those parts being black would be fine, or grey to differentiate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants