Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tune] support nested dictionaries for CSVLogger #5295

Merged
merged 2 commits into from
Jul 27, 2019

Conversation

llan-ml
Copy link
Contributor

@llan-ml llan-ml commented Jul 27, 2019

Related issue number

Closes #5294

Linter

  • I've run scripts/format.sh to lint the changes in this PR.

tmp = result.copy()
if "config" in tmp:
del tmp["config"]
result = flatten_dict(tmp, delimiter="/")
Copy link
Contributor

Choose a reason for hiding this comment

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

cc @hartikainen this may affect viskit visualization?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be fine. In softlearning, I actually flatten all the dicts in a similar way before returning the results.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/15710/
Test FAILed.

@richardliaw richardliaw merged commit 341dbf6 into ray-project:master Jul 27, 2019
edoakes pushed a commit to edoakes/ray that referenced this pull request Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tune] support nested results for CSVLogger
4 participants