-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Show experiment name in nnictl experiment list #1726
Conversation
experiment_information += (EXPERIMENT_DETAIL_FORMAT % (key, experiment_dict[key]['status'], experiment_dict[key]['port'],\ | ||
experiment_dict[key].get('platform'), experiment_dict[key]['startTime'], experiment_dict[key]['endTime'])) | ||
experiment_information += EXPERIMENT_DETAIL_FORMAT % (key, | ||
experiment_dict[key].get('experimentName', 'N/A'), |
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.
why add a new line in 585
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.
To make it neat, symmetrical and beautiful.
tools/nni_cmd/config_utils.py
Outdated
@@ -81,6 +81,8 @@ def add_experiment(self, expId, port, time, file_name, platform): | |||
self.experiments[expId]['status'] = 'INITIALIZED' | |||
self.experiments[expId]['fileName'] = file_name | |||
self.experiments[expId]['platform'] = platform | |||
self.experiments[expId]['authorName'] = author_name |
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.
what is author_name
used for?
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.
It's an important metadata. Save it for future use. Also okay to eject. Suggestions?
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.
Don't know if it will be used in the future, do not suggest to maintain unuseful information in metadata.
Fix #1615. Fix #1628.
Code in
nnictl
could need some refactor. (Many duplicates)