Pi-Star-Lab / RESCO

Reinforcement Learning Benchmarks for Traffic Signal Control (RESCO)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

key error when running python main.py --agent IDQN --map ingolstadt21

FanFan2021 opened this issue · comments

always get key error like:

File "/resco_benchmark/agents/agent.py", line 35, in observe
if info['eps'] % self.config['save_freq'] == 0:
KeyError: 'save_freq'

File "/resco_benchmark/agents/pfrl_dqn.py", line 43, in observe
if self.config['load']:
KeyError: 'load'

How to fix this kind of problem?

Sorry, this should be fixed now. A commit was missing when the library was updated.

567cece