Skip to content
Snippets Groups Projects
Commit 0d592e76 authored by Tim Tobias Bauerle's avatar Tim Tobias Bauerle
Browse files

Removing points from experiment group names to fix model saving and loading

parent 0e8c7aa6
No related branches found
No related tags found
1 merge request!20Removing points from experiment group names to fix model saving and loading
......@@ -118,7 +118,7 @@ def _group_resolver(cfg: DictConfig, group_by: DictConfig):
value = value.get(key, "")
values.append(value)
# concatenate and return
return "_".join(values)
return "_".join(values).replace(".", "")
def preprocess_config(cfg: DictConfig):
......
......@@ -32,7 +32,9 @@ class ConfigHelpersTest(unittest.TestCase):
"controller": {
"name": "swarm",
"scheduler": {"name": "max_battery"},
"adaptive_threshold_fn": {"name": "static"},
"adaptive_threshold_fn": {
"name": "sta.tic"
}, # check that points are removed
},
"group_by": {
"controller": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment