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

about SubprocVecEnv #39

Closed
gyccccccccc opened this issue Apr 27, 2024 · 2 comments
Closed

about SubprocVecEnv #39

gyccccccccc opened this issue Apr 27, 2024 · 2 comments

Comments

@gyccccccccc
Copy link

Hello! Thank you for your great job first!
I'm sorry to bother you, but I find it quite slow when training. So I want to use SubproVecEnv to build multiple envs and train at the same time. However, the SubprocVecEnv seem can't be used in mappo.
Is there any way to faster the algorithm?

@DongChen06
Copy link
Owner

Hello, thanks for your interest. One way is to just use CPU instead of GPU for the training.

@gyccccccccc
Copy link
Author

Hello, thanks for your interest. One way is to just use CPU instead of GPU for the training.

Yes,I've used CPU to train, but it seem that the MAPPO algorithm can not support multi-env(SubprocVecEnv)?

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