mirror of
https://github.com/clearml/clearml
synced 2025-02-24 21:23:55 +00:00
Fix hydra overrides integration (issue #552)
This commit is contained in:
parent
6756dec06a
commit
713501c611
@ -89,6 +89,7 @@ class PatchHydra(object):
|
|||||||
if overrides and not isinstance(overrides, (list, tuple)):
|
if overrides and not isinstance(overrides, (list, tuple)):
|
||||||
overrides = [overrides]
|
overrides = [overrides]
|
||||||
overrides += ['{}={}'.format(k, v) for k, v in stored_config.items()]
|
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]
|
||||||
else:
|
else:
|
||||||
# We take care of it inside the _patched_run_job
|
# We take care of it inside the _patched_run_job
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user