"tools/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "1362de020fe7caad1f3fa6f62f93c024f2f384f4"
Unverified Commit 539a7cd7 authored by J-shang's avatar J-shang Committed by GitHub
Browse files

fix update search space (#3435)

parent 7cf7997a
...@@ -6,6 +6,7 @@ from subprocess import Popen ...@@ -6,6 +6,7 @@ from subprocess import Popen
import time import time
from typing import Optional, Union, List, overload, Any from typing import Optional, Union, List, overload, Any
import json_tricks
import colorama import colorama
import psutil import psutil
...@@ -377,6 +378,7 @@ class Experiment: ...@@ -377,6 +378,7 @@ class Experiment:
value: dict value: dict
New search_space. New search_space.
""" """
value = json_tricks.dumps(value)
self._update_experiment_profile('searchSpace', value) self._update_experiment_profile('searchSpace', value)
def update_max_trial_number(self, value: int): def update_max_trial_number(self, value: int):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment