StepNeverStop / RLs

Reinforcement Learning Algorithms Based on PyTorch
https://stepneverstop.github.io
Apache License 2.0
449 stars 93 forks source link

fix function update_config in run.py #7

Closed kmakeev closed 5 years ago

kmakeev commented 5 years ago

Must be: def update_config(config, file): _config = sth.load_config(file) try: for key in _config: config[key] = _config[key] except Exception as e: print(e) sys.exit() return config

StepNeverStop commented 5 years ago

Hi, Thx for your correction.I wasn't aware of the mistake because there was no error in running this sentence. I've fix this, thank you very much. next time maybe you can submit a PR. so that I can merge it.

kmakeev commented 5 years ago

Ok!

StepNeverStop commented 5 years ago

Feel free to reopen this issue if still have questions.