DongChen06 / MARL_CAVs

MARL for Autonomous Vehicles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

about SubprocVecEnv

gyccccccccc opened this issue · comments

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?

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

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)?