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

Choreographer in discrete action spaces #1

Open
swy99 opened this issue Aug 25, 2023 · 2 comments
Open

Choreographer in discrete action spaces #1

swy99 opened this issue Aug 25, 2023 · 2 comments

Comments

@swy99
Copy link

swy99 commented Aug 25, 2023

I am trying to run Choreographer in environments with discrete action spaces.

The implementation was done with the help of the part of DreamerV2 code that are responsible for discrete action space. But my implementation did not work very well, especially lbs shows somewhat collapsing of actions, which means that it selects only one action in pixel based environments.

This link shows a part of the changes I have made besides adding some env wrappers to envs.py: swy99@e27b256

I have mainly tried MiniGrid with different sets of hyperparameters but all my attempts failed.

Did you have any chances to try discrete action space environments? Could you share some working sets of hyperparameters?

@mazpie
Copy link
Owner

mazpie commented Aug 25, 2023

Hi,
I adapted this codebase to several discrete action space environments in the past (Atari, Habitat, Unity environments), and it worked fine, with the same hyperparameters you can find in the current configs files, but to be fair I haven't tested it on MiniGrid yet.

I had a look at the changes you made and they look sensible. Perhaps, there is some issue with the world model's training?
Are you using pixel-based inputs (64x64x3) or are you testing on the low-dimensional Minigrid inputs?

@swy99
Copy link
Author

swy99 commented Aug 25, 2023

Thanks a lot for taking your time to respond.
I am currently using pixel-based inputs (64x64x3).

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