mirror of
https://github.com/clearml/clearml
synced 2025-01-31 09:07:00 +00:00
Fix Hydra overrides integration (#1120)
This commit is contained in:
parent
96646dc46a
commit
b83baa6f2e
@ -89,7 +89,7 @@ class PatchHydra(object):
|
||||
if overrides and not isinstance(overrides, (list, tuple)):
|
||||
overrides = [overrides]
|
||||
overrides += ['{}={}'.format(k, v) for k, v in stored_config.items()]
|
||||
overrides = ["+" + (o if o.startswith("+") and not o.startswith("++") else o) for o in overrides]
|
||||
overrides = [("+" + o) if (o.startswith("+") and not o.startswith("++")) else o for o in overrides]
|
||||
else:
|
||||
# We take care of it inside the _patched_run_job
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user