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

[Windows] tensorboard - needs to be started from same drive as logdir #7856

Closed
enpasos opened this issue Feb 24, 2017 · 10 comments
Closed

[Windows] tensorboard - needs to be started from same drive as logdir #7856

enpasos opened this issue Feb 24, 2017 · 10 comments
Labels
comp:tensorboard Tensorboard related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower type:build/install Build and install issues

Comments

@enpasos
Copy link

enpasos commented Feb 24, 2017

OS: Windows 10 (64 bit)
TensorFlow Version: 1.0.0
CUDA: 8.0
GPU: yes

Problem:
C:>tensorboard --logdir=E:\tmp\tensorflow\mnist\logs
=> tensorboard starts without loading data (not working and difficult to detect reason)

E:>tensorboard --logdir=E:\tmp\tensorflow\mnist\logs
=> tensorboard starts with loading data (works perfectly)

@mikehenninger
Copy link

mikehenninger commented Feb 25, 2017

ditto, win7 64 tensorflow v1.0.0 no gpu.

as implied by @enpasos, there are no error messages in console or web

ETA: with the --inspect flag tensorboard seems to be finding and reading the files fine... some but not all file reading methods are drive letter aware?

@poxvoculi poxvoculi added type:build/install Build and install issues stat:awaiting tensorflower Status - Awaiting response from tensorflower labels Feb 27, 2017
@mrry mrry assigned teamdandelion and unassigned mrry Feb 27, 2017
@mrry
Copy link
Contributor

mrry commented Feb 27, 2017

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

(Reassigning to @dandelionmane, who shows up on the blame for the relevant code.)

@mrry mrry changed the title tensorboard - needs to be started from same drive as logdir [Windows] tensorboard - needs to be started from same drive as logdir Feb 27, 2017
@tfboyd tfboyd added the comp:tensorboard Tensorboard related issues label Jun 16, 2017
@teamdandelion
Copy link
Contributor

Migrated this to tensorflow/tensorboard.

@hzphzp
Copy link

hzphzp commented Sep 21, 2017

It still can't load data though using the same driver's name

@rupeshs
Copy link

rupeshs commented Dec 10, 2017

@mrry
yep ,that worked (Windows 7,64bit )
tensorboard --logdir=training:E:\tmp\tensorflow\mnist\logs

@vijaysaimutyala
Copy link

@enpasos Works on Windows 10, 64-bit with Python 3.5. Point to be noted, you should be in the drive only and not even inside the log folder.

Works only when inside D:> not when in the complete log path.

Only issue I had was to I had to execute it with python instead using tensorboard directly.
python -m tensorboard.main --logdir="D:/JupyterNotebooks/MultivariateTimeSeries/logs/"

@pouyaesm
Copy link

pouyaesm commented Mar 27, 2018

I resolved the problem using double-quotes:
--logdir="E:\tmp\tensorflow\mnist\logs"

Windows 7, 64bit, cygwin, python 3

@Billy1900
Copy link

Windows 10, Pytorch 1.4.0 GPU,
I tried the method above mentioned, but did not work.
Is there any other way to solve it?

@JinLuckyboy
Copy link

JinLuckyboy commented May 11, 2020

cd {logdir}
tensorboard --logdir ./
It works.

@paweller
Copy link

I resolved the problem using double-quotes:
--logdir="E:\tmp\tensorflow\mnist\logs"

Windows 7, 64bit, cygwin, python 3

Worked perfectly for me.

  • Windows 10
  • Intel Core i9-7920X
  • 2x NVIDIA GeForce RTX 2080 Ti
  • TensorFlow 2.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:tensorboard Tensorboard related issues stat:awaiting tensorflower Status - Awaiting response from tensorflower type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests