Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
539a7cd7
"...components/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "580ce0a330563bccbd62e2714a9bc5c592fe116c"
Unverified
Commit
539a7cd7
authored
Mar 09, 2021
by
J-shang
Committed by
GitHub
Mar 09, 2021
Browse files
fix update search space (#3435)
parent
7cf7997a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
nni/experiment/experiment.py
nni/experiment/experiment.py
+2
-0
No files found.
nni/experiment/experiment.py
View file @
539a7cd7
...
...
@@ -6,6 +6,7 @@ from subprocess import Popen
import
time
from
typing
import
Optional
,
Union
,
List
,
overload
,
Any
import
json_tricks
import
colorama
import
psutil
...
...
@@ -377,6 +378,7 @@ class Experiment:
value: dict
New search_space.
"""
value
=
json_tricks
.
dumps
(
value
)
self
.
_update_experiment_profile
(
'searchSpace'
,
value
)
def
update_max_trial_number
(
self
,
value
:
int
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment