-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Conversation
Merge master
merge master
merge master
merge master
merge master
merge master
merge master
Chinese translation (microsoft#2458)
merge master
merge master
merge master
merge master
merge master
merge master
merge master
merge master
merge master
merge master
@@ -0,0 +1,50 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra line (or missing license)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add licence
responses.GET, 'http://localhost:8080/api/v1/nni/trial-jobs', | ||
json=[{"id":"GPInz","status":"SUCCEEDED","hyperParameters":["{\"parameter_id\":0, \ | ||
\"parameter_source\":\"algorithm\",\"parameters\":{\"C\":0.8748364659110364, \ | ||
\"kernel\":\"linear\",\"degree\":1,\"gamma\":0.040451413392113666,\"coef0 \":0.040353532973662266}, \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember the extra space in coef0
has been removed in another PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated,
tools/nni_cmd/config_utils.py
Outdated
@@ -9,8 +9,8 @@ | |||
|
|||
class Config: | |||
'''a util class to load and save config''' | |||
def __init__(self, file_path): | |||
config_path = os.path.join(NNICTL_HOME_DIR, str(file_path)) | |||
def __init__(self, file_path, home_dir = NNICTL_HOME_DIR): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to remove spaces around =
for default values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated, seems pylint didn't check this
tools/nni_cmd/config_utils.py
Outdated
def __init__(self): | ||
os.makedirs(NNICTL_HOME_DIR, exist_ok=True) | ||
self.experiment_file = os.path.join(NNICTL_HOME_DIR, '.experiment') | ||
def __init__(self, home_dir = NNICTL_HOME_DIR): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove spaces around =
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
No description provided.