question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backslash-separated logdir paths have issues on Windows

See original GitHub issue

Migrated from https://github.com/tensorflow/tensorflow/issues/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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
decentralioncommented, Jun 21, 2017

Here’s the workaround: (from https://github.com/tensorflow/tensorflow/issues/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

0reactions
nfeltcommented, 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Does Windows Really Use Backslash as Path Separator?
Like MS-DOS file names were 8 characters with a 3 character extension however the extension was separated not with a period but a...
Read more >
Path Module | Working with File Paths in Node.js - InformIT
Each operating system uses a different file path separator for identifying and/or creating file paths. For example, Windows uses the backslash; ...
Read more >
Issues replacing backslashes in paths - Stack Overflow
I am trying to replace backslashes in Windows paths ...
Read more >
Unable to start kafka with zookeeper (kafka.common ...
I solved this issue on my machine (Windows 10) by deleting the meta.properties file found in the log directory. The issue itself occured ......
Read more >
Why does Windows use backslashes for paths and Unix ...
So you can often, but not always get away with using / as a directory ... or slash to separate directory and file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found