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

event_infos tag bug #78

Open
micahcarroll opened this issue Oct 10, 2021 · 2 comments
Open

event_infos tag bug #78

micahcarroll opened this issue Oct 10, 2021 · 2 comments

Comments

@micahcarroll
Copy link
Member

Reported via email:


I’m looking to use the ‘event_infos’ tags as propositional labels for my particular application, but it seems that sometimes these tags don’t get correctly updated.

For example, in the following (state, action, new_state) triple:

X X P X X

O →1 T

Xo →0 X

X D X S X

(Action.INTERACT, Action.INTERACT)

X X P X X

O →1t T

Xo →0 X

X D X S X

I can see, by inspecting the relevant variables, that state.players[1].held_object has value None and new_state.players[1].held_object has value tomato@(3, 1), but that if I look at:

_, info = env.mdp.get_state_transition(state, (Action.INTERACT, Action.INTERACT,), False, env.mp)

Then the value of info['event_infos']['tomato_pickup’] is [False,False], when I believe it should be [False,True]. This may well happen with other info tags as well, but I haven’t dug into that yet. Do you have any idea what might be causing this problem and/or how to fix it?

For the record, I’m using whatever version of the repo is installed when running pip install overcooked-ai.

@micahcarroll micahcarroll moved this to Todo: low priority in Overcooked Improvements Jun 10, 2022
@micahcarroll micahcarroll moved this from Todo: low priority to Todo: high priority in Overcooked Improvements Jun 10, 2022
@micahcarroll micahcarroll moved this from Todo: high priority to Todo: low priority in Overcooked Improvements Jun 10, 2022
@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity. It will be closed in 14 days unless there is some new activity

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity. It will be closed in 14 days unless there is some new activity

@github-actions github-actions bot added the stale label Mar 29, 2023
@micahcarroll micahcarroll moved this from Todo: low priority to Todo: high priority overcooked_ai / demo in Overcooked Improvements Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo: high priority overcooked_ai / demo
Development

No branches or pull requests

1 participant