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

Issue with running train_trials.py due to unsupported 'gym.spaces.dict.Dict' #6

Open
selenak666 opened this issue Feb 18, 2024 · 1 comment

Comments

@selenak666
Copy link

stable-baselines3 does not support '<class 'gym.spaces.dict.Dict'>', so when I run trials/scripts/train_trials.py, I get the following error

assert not hasattr(obs_space, "spaces"), f"Unsupported structured space '{type(obs_space)}'"

AssertionError: Unsupported structured space '<class 'gym.spaces.dict.Dict'>

How can the code be executed?

@giranntu
Copy link

@selenak666 hi, I am also trying, being debug for a while for several issues and still can not train successfully.
could you try to use stable-baselines3 1.6.2 version?

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