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

cannot import name 'spaces' from 'gym' #39

Closed
jinjikikko976 opened this issue Aug 1, 2024 · 5 comments
Closed

cannot import name 'spaces' from 'gym' #39

jinjikikko976 opened this issue Aug 1, 2024 · 5 comments

Comments

@jinjikikko976
Copy link

屏幕截图 2024-08-01 155535

@heleidsn
Copy link
Owner

heleidsn commented Aug 3, 2024

Hi, please check your gym version as it is an old project, the latest gym version may not work. V0.21.0 should be ok

@jinjikikko976
Copy link
Author

Thank you for your reply. This issue has been resolved, is it still a problem with the environment configuration.But now I have another problem. According to your training settings, the success rate after training in the SimpleAvoid environment is very low, even 0,I don't know how to adjust it

@jinjikikko976
Copy link
Author

屏幕截图 2024-08-05 150705

@heleidsn
Copy link
Owner

heleidsn commented Aug 6, 2024

It depends on your configuration, such as perception method, algo selection and settings. Maybe you can upload the config file you use or try to train in different policy and algos

@jinjikikko976
Copy link
Author

I used the default configuration you uploaded and replaced SAC,TD3 and PPO three algorithms, and their success rates were all 0

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