key error when running python main.py --agent IDQN --map ingolstadt21
FanFan2021 opened this issue · comments
FanFan2021 commented
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?
James Ault commented
Sorry, this should be fixed now. A commit was missing when the library was updated.