Trouble with using tensorboard extension with remote SSH (timeout)
See original GitHub issueHi 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 viaconda 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:
- Created a year ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.