Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

import finished trial data to tuner when experiment is resumed #1107

Merged
merged 11 commits into from
May 27, 2019

Conversation

QuanluZhang
Copy link
Contributor

No description provided.

with open(args.path, 'w') as file:
if args.type == 'csv':
writer = csv.DictWriter(file, set.union(*[set(r.keys()) for r in records]))
f_obj = open(args.path, 'w')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest using "with open(...) as file" to make sure you have the same style with line 279.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good suggestion.

@QuanluZhang QuanluZhang merged commit f5d7e66 into microsoft:master May 27, 2019
@QuanluZhang QuanluZhang deleted the fix-tuner-expresume branch February 20, 2020 13:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants