Replies: 2 comments
-
There are also a bunch of incompatible api usage in the code should be noted. For example, some |
Beta Was this translation helpful? Give feedback.
-
Thanks for identifying this and posting with details! Like you pointed out, the OpenAI Gym library started wrapping the env with the |
Beta Was this translation helpful? Give feedback.
-
To enable "Multi-Agent" environment training in
rllib
, you have to inherit the base classMultiAgentEnv
fromray.rllib.env
. Macad-gym have already done this inmulti_env.py
.macad-gym/src/macad_gym/carla/multi_env.py
Lines 237 to 243 in 912944c
However, since
gym==0.21.0
, the environment created withgym.make
will automatically wrapped in a Class calledOrderEnforcing
. This will break the inheritance check in rllib, causing a training session failure.This is probably something
ray[rllib]
should take care of, I'm just reporting this to help if anybody have met this problem.Beta Was this translation helpful? Give feedback.
All reactions