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

Reading from SFTP (windows) #2622

Closed
adizhol opened this issue Sep 8, 2019 · 4 comments
Closed

Reading from SFTP (windows) #2622

adizhol opened this issue Sep 8, 2019 · 4 comments

Comments

@adizhol
Copy link

adizhol commented Sep 8, 2019

Hi,

When running tensorboard (1.12 or 1.14) on logs from an SFTP drive using sftp 2 driver, tensorboard doens't refresh the scalar display, and I see errors like
"[Thread-2 core_plugin.py:165] Unable to get first event timestamp for run ..."

Any idea how can I make it work?

Thanks

@gowthamkpr gowthamkpr self-assigned this Sep 9, 2019
@stephanwlee
Copy link
Contributor

Hi @adizhol, would you be able to give us more complete picture into what you are doing? How are you invoking TensorBoard? How are you using sftp too?

@adizhol
Copy link
Author

adizhol commented Sep 9, 2019

Hi @stephanwlee,

I map the SFTP to a drive letter, say X:, and I start tensorboard with logdir=X:\logs.
It launches, but after a few minutes it stops showing new data.
I assume it's not receiving filesystem events.
I ended up using win-sshfs to map a network drive.

@nfelt
Copy link
Contributor

nfelt commented Sep 9, 2019

I'm not very familiar with windows SFTP mapping but it seems possible that the issue is similar to that with rsync, where by default the files are replaced rather than actually appended, so TensorBoard doesn't see the new data: #349

If there's a similar way to make SFTP reuse the same files, that might work.

Alternatively, if win-sshfs works for you instead, it sounds like perhaps the problem is resolved well enough?

@rmothukuru
Copy link

@adizhol,
Can you please let us know if @nfelt's comments helped you so that we can work towards closure of this issue. Thanks!

@adizhol adizhol closed this as completed Sep 20, 2019
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