Open rsuwa opened 3 years ago
Hi @rsuwa , since the SMARTS environment (gym_hiway) has changed a lot, this 'gym_hiway.env.list_hiway_env' interface is not working anymore. Please ref https://github.com/ying-wen/pymarl/blob/master/src/envs/smarts_env.py and https://github.com/huawei-noah/SMARTS for the new SMARTS environment interface.
https://github.com/ying-wen/pymarl/blob/master/src/envs/smarts_env.py also has issue because AgentPolicy is deprecated (- Removed deprecated class AgentPolicy
from agent.py
.)
When I run run run_smarts.py, I get the following error How can I fix this?
https://github.com/ying-wen/malib/blob/7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2/examples/run_smarts.py#L16