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] TBXLoggerCallback not creating necessary directory #14437

Open
2 tasks done
import-antigravity opened this issue Mar 2, 2021 · 0 comments
Open
2 tasks done

[tune] TBXLoggerCallback not creating necessary directory #14437

import-antigravity opened this issue Mar 2, 2021 · 0 comments
Assignees
Labels
bug Something that is supposed to be working; but isn't P2 Important issue, but not time-critical tune Tune-related issues

Comments

@import-antigravity
Copy link

import-antigravity commented Mar 2, 2021

What is the problem?

I'm trying to use some very simple code to get rolling with Tune and Pytorch Lightning. I've been trying all night to figure out why the tensorboard logger is not working. It appears that when it logs the hyperparameters and the metrics at the end of a run, it logs them outside of a folder. Moving one of the event files into a folder causes the metrics to appear:

Screen Shot 2021-03-02 at 12 59 21 AM

Screen Shot 2021-03-02 at 1 01 06 AM

It seems like the fix is as simple as modifying TBXLoggerCallback such that it puts the event files in a folder.

Reproduction (REQUIRED)

Please provide a short code snippet (less than 50 lines if possible) that can be copy-pasted to reproduce the issue. The snippet should have no external library dependencies (i.e., use fake or mock data / environments):

If the code snippet cannot be run by itself, the issue will be closed with "needs-repro-script".

Y'all should really have some sort of notebook that can be easily modified to reproduce bugs. Anyway, the bug is pretty self explanatory but I'll make a notebook if you really want me to

  • I have verified my script runs in a clean environment and reproduces the issue.
  • I have verified the issue also occurs with the latest wheels.
@import-antigravity import-antigravity added bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Mar 2, 2021
@import-antigravity import-antigravity changed the title [tune] TBXLogger not creating necessary directory [tune] TBXLoggerCallback not creating necessary directory Mar 2, 2021
@richardliaw richardliaw added tune Tune-related issues P2 Important issue, but not time-critical and removed triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Mar 4, 2021
@Yard1 Yard1 self-assigned this Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't P2 Important issue, but not time-critical tune Tune-related issues
Projects
None yet
Development

No branches or pull requests

3 participants