Open Gamenot opened 3 years ago
![Uploading image.png…]()
运行vis.py的时候出现了这个错误是怎么回事,麻烦大神解答一下,谢谢
Successfully registered the following environments: ['MetaDrive-test-v0', 'MetaDrive-validation-v0', 'MetaDrive-v0', 'MetaDrive-10envs-v0', 'MetaDrive-1000envs-v0', 'MetaDrive-training0-v0', 'MetaDrive-training1-v0', 'MetaDrive-training2-v0'].
Traceback (most recent call last):
File "vis.py", line 83, in
Benchmark,
1 agent, 50 SVs, loop scenario: 100 FPS 10 agents, 0 SVs, loop scenario, 25 FPS
Feel free to suggest a different benchmark than ^
Context:
agent_spec = AgentSpec( interface=AgentInterface.from_type(AgentType.Laner, max_episode_steps=1000), policy_builder=Policy, )
╭────────────────────┬────────────────────┬────────────────────┬────────────────────┬────────────────────┬╮ │ Episode │ Sim T / Wall T │ Total Steps │ Steps / Sec │ Scenario Map ││ ├────────────────────┼────────────────────┼────────────────────┼────────────────────┼────────────────────┼┤ │ 0/100 │ 2.18 │ 999 │ 21.78 │ loop ││ │ 1/100 │ 1.32 │ 999 │ 13.23 │ loop ││ │ 2/100 │ 1.24 │ 999 │ 12.35 │ loop ││ │ 3/100 │ 1.59 │ 999 │ 15.87 │ loop ││