[RLlib] Exploration API (+EpsilonGreedy sub-class). (#6974)

This commit is contained in:
Sven Mika
2020-02-10 15:22:07 -08:00
committed by GitHub
parent 1e690673d8
commit 6e1c3ea824
56 changed files with 1163 additions and 496 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ def deep_update(original, new_dict, new_keys_allowed, whitelist):
if k not in original:
if not new_keys_allowed:
raise Exception("Unknown config parameter `{}` ".format(k))
if isinstance(original.get(k), dict):
if isinstance(original.get(k), dict) and isinstance(value, dict):
if k in whitelist:
deep_update(original[k], value, True, [])
else: