eleurent / rl-agents

Implementations of Reinforcement Learning and Planning algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

display of env 'IntersectionEnv':

swb19 opened this issue · comments

commented

When I run the following code, I find that although I can train normally, the visualization part always fails to work (black screen is displayed). It seems to be the problem of self.env.unwrapped.viewer.set_agent_display in evaluation.py?
Have you encountered similar problems?

python experiments.py evaluate configs/IntersectionEnv/env_multi_agent.json \
                               configs/IntersectionEnv/agents/DQNAgent/ego_attention_2h.json \
                               --train --episodes=3000

image

Hi,
No that is strange, it seems to be working fine for me:
image

Could you try to run a separate script where you instantiate and render highway-env manually, to see if that works?