Skip to content

Commit

Permalink
Fix bug of nnictl about stopping experiment and update statsmodels ve…
Browse files Browse the repository at this point in the history
…rsion to v0.9.1.1 (microsoft#1297)

* update statsmodel for bohb

* fix nnictl stop experiment bug

* fix nnictl stop experiment bug

* fix nnictl stop experiment bug
  • Loading branch information
Crysple authored and leckie-chn committed Jul 17, 2019
1 parent 4592ba4 commit 216a08f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sdk/pynni/nni/bohb_advisor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ConfigSpace==0.4.7
statsmodels==0.9.0
statsmodels==0.10.0
4 changes: 2 additions & 2 deletions tools/nni_cmd/nnictl_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def parse_ids(args):
exit(1)
else:
result_list = running_experiment_list
elif args.all:
elif args.id == 'all':
result_list = running_experiment_list
elif args.id.endswith('*'):
for id in running_experiment_list:
Expand All @@ -166,7 +166,7 @@ def parse_ids(args):
if len(result_list) > 1:
print_error(args.id + ' is ambiguous, please choose ' + ' '.join(result_list) )
return None
if not result_list and args.id:
if not result_list and args.id and args.id != 'all':
print_error('There are no experiments matched, please set correct experiment id...')
elif not result_list:
print_error('There is no experiment running...')
Expand Down

0 comments on commit 216a08f

Please sign in to comment.