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.

Trouble with using tensorboard extension with remote SSH (timeout)

See original GitHub issue

Hi guys,

My VSCode encounterred a problem when using the tensorboard extension.

Situation

After press Ctrl+Shift+P and launch the tensorboard, VSC seems loading forever and reports a timeout of 60s. I’m using tensorboard extension together with the SSH remote (I’m developing on a server with SSH remote extension).

Several Attempts

  • First I changed the conda env, but in vain.
  • I also tried to use ssh terminal with tensorboard --logdir ., and it reported that ‘absl’ is missing. However, I checked via conda list and I’m pretty sure I’ve installed absl-py.
  • Just before things went wrong, the tensorboard extention worked fine. I changed a few lines in my .bashrc trying to modified the setting of CUDA. But I still cannnot get the extension work after changing the file back to origin.

Info might be useful

I actually encountered this problem earlier this year in other conda env. I installed tensorboard extension according to the VSC pop up window(tiny tips in right-buttom). Then it worked. But I now can hardly remember what command VSC input to the terminal. Maybe redo the line may help?

My Environment

Remote:

  • Ubuntu 20.04
  • tensorboard 2.9.1
  • absl-py 1.1.0
  • numpy 1.19.5

Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Jul 21, 2022

Yes the module absl is missing (or at least it’s not found in the sys path). That’s why it times out, it doesn’t actually start.

0reactions
Jimimakucommented, Nov 27, 2022

Hi guys,

My VSCode encounterred a problem when using the tensorboard extension.

Situation

After press Ctrl+Shift+P and launch the tensorboard, VSC seems loading forever and reports a timeout of 60s. I’m using tensorboard extension together with the SSH remote (I’m developing on a server with SSH remote extension).

Several Attempts

  • First I changed the conda env, but in vain.
  • I also tried to use ssh terminal with tensorboard --logdir ., and it reported that ‘absl’ is missing. However, I checked via conda list and I’m pretty sure I’ve installed absl-py.
  • Just before things went wrong, the tensorboard extention worked fine. I changed a few lines in my .bashrc trying to modified the setting of CUDA. But I still cannnot get the extension work after changing the file back to origin.

Info might be useful

I actually encountered this problem earlier this year in other conda env. I installed tensorboard extension according to the VSC pop up window(tiny tips in right-buttom). Then it worked. But I now can hardly remember what command VSC input to the terminal. Maybe redo the line may help?

My Environment

Remote:

  • Ubuntu 20.04
  • tensorboard 2.9.1
  • absl-py 1.1.0
  • numpy 1.19.5

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

why ssh connection timed out in vscode? - Stack Overflow
Solved it by extending the Connect Timeout from 15 to 30 seconds. Instructions: open your vscode Command Palette (via keyboard shortcut or from ......
Read more >
Using TensorBoard in Notebooks - TensorFlow
Start by installing TF 2.0 and loading the TensorBoard notebook extension: For Jupyter users: If you've installed Jupyter and TensorBoard ...
Read more >
What Do I Do If Error Message "The VS Code Server failed to ...
1, upgrade Remote-SSH. Open the command panel (Ctrl+Shift+P for Windows and Cmd+Shift+P for Mac) ...
Read more >
Web session timeouts - Cloudera Documentation
You can set web sessions to time out and require the user to log in again. This time limit is not based on...
Read more >
PyTorch Development in Visual Studio Code
Along with TensorBoard, VS Code and the Python extension also integrate the PyTorch Profiler, allowing you to better analyze your PyTorch models in...
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