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

Backslash-separated logdir paths have issues on Windows #51

Closed
wchargin opened this issue Jun 16, 2017 · 5 comments
Closed

Backslash-separated logdir paths have issues on Windows #51

wchargin opened this issue Jun 16, 2017 · 5 comments

Comments

@wchargin
Copy link
Contributor

Migrated from tensorflow/tensorflow#9854.

@DarrellThomas says:

[After running tensorboard --logdir='D:\logs_dt'] I'm not seeing anything on the tensorboard at all. I can see where the log director(ies) is/are created by the tutorial script, and the subdirectories /test and /train are there with the event data present. I point the tensorboard to the populated log directory with the following command, but it cannot see the event files. Nothing is present in tensorboard, and I'm redirected back to the tutorials.

@wahahajun
Copy link

hi.
I meet the same problem. How can i use tensorboard correctly in windows before the next release. Thanks.

@wahahajun
Copy link

wahahajun commented Jun 21, 2017

o, i put my logfile in windows C directory and it success

@teamdandelion
Copy link
Contributor

Here's the workaround: (from tensorflow/tensorflow#7856)

Unfortunately TensorBoard uses a colon as the separator between the optional "run name" and the path in the --logdir flag. That means that --logdir=E:\tmp\tensorflow\mnist\logs is interpreted as a run named E with path \tmp\tensorflow\mnist\logs, which explains why it's sensitive to the current working directory.
As a quick workaround, you could avoid this problem by always specifying an explicit run name as part of the --logdir flag, e.g.:

tensorboard --logdir=training:E:\tmp\tensorflow\mnist\logs

@nfelt
Copy link
Collaborator

nfelt commented Dec 6, 2017

Duplicate of #52

@nfelt nfelt marked this as a duplicate of #52 Dec 6, 2017
@nfelt
Copy link
Collaborator

nfelt commented Dec 6, 2017

Duping to #52 since it's what all the other reports have been duped to, even though this issue was technically filed first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants