TensorBoard pane does not display TensorFlow output.
See original GitHub issueIssue Type: Bug
- Start TensorBoard from VSCode on macOS by cmd-shift P and selecting “Python: Launch TensorBoard”, specifying the model directory (model_dir).
- Run Tensorflow model, using the same directory as the model_dir
- Observe nothing in TensorBoard pane
The TensorBoard pane is never populated with a TensorBoard interface even with a directory full of TF output.
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z) OS version: Darwin x64 20.3.0 Remote OS version: Linux x64 5.4.0-1037-aws
System Info
Item | Value |
---|---|
CPUs | Apple M1 (8 x 2400) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 1, 2, 2 |
Memory (System) | 16.00GB (0.05GB free) |
Process Argv | –crash-reporter-id 7dfc0449-544b-4fa5-917f-21b04190e4ed |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: NYYAWS |
OS | Linux x64 5.4.0-1037-aws |
CPUs | Intel® Xeon® CPU E5-2686 v4 @ 2.30GHz (4 x 2758) |
Memory (System) | 59.86GB (10.91GB free) |
VM | 0% |
Extensions (14)
Extension | Author (truncated) | Version |
---|---|---|
codespaces | Git | 0.8.2 |
remote-containers | ms- | 0.163.2 |
remote-ssh | ms- | 0.65.1 |
remote-ssh-edit | ms- | 0.65.1 |
remote-wsl | ms- | 0.54.3 |
vscode-remote-extensionpack | ms- | 0.20.0 |
material-icon-theme | PKi | 4.5.0 |
rainbow-csv | mec | 1.8.1 |
python | ms- | 2021.2.636928669 |
vscode-pylance | ms- | 2021.3.1 |
jupyter | ms- | 2021.3.619093157 |
html-preview-vscode | tht | 0.2.5 |
docker | vsc | 1.0.0 |
yaml | vsc | 1.0.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30270708
pythontb:30265425
vspre833:30267464
Issue Analytics
- State:
- Created 3 years ago
- Comments:14
Top Results From Across the Web
tensorboard not displaying anything - Stack Overflow
Unfortunately I get the same problem - it seems like firefox connects to the local port, but I get a blank page.
Read more >Displaying image data in TensorBoard - TensorFlow
In this tutorial, you will learn how to use the Image Summary API to visualize tensors as images. You will also learn how...
Read more >3- Introduction to Tensorboard - Easy TensorFlow
TensorBoard is a visualization software that comes with any standard TensorFlow installation. In Google's words: “The computations you'll use TensorFlow for ...
Read more >TensorBoard: Graph Visualization
TensorFlow computation graphs are powerful but complicated. ... click on the graph tab on the top pane and select the appropriate run using...
Read more >Training Visualization
Keras writes TensorBoard data at the end of each epoch so you won't see any data in TensorBoard until 10-20 seconds after the...
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 FreeTop 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
Top GitHub Comments
Hi @rbudnar, if you are on Windows, that error message usually shows up when you have a MIME type misconfiguration in the Windows registry. This is also tracked as https://github.com/tensorflow/tensorboard/issues/3077. You can verify if this is the problem by running the following code in a shell:
If the output is anything other than
application/javascript
, the most common cause is that some other application has added an incorrect MIME type to the Windows registry as part of its installation process. The fix in this case would be to look for and delete the “Content Type” key with value “text/plain” under the Computer\HKEY_CLASSES_ROOT.js registry hive.Otherwise, please feel free to open a new issue with our bug template filled out.
FYI @fonnesbeck I’ve fixed the issue you reported in this thread by ensuring that port forwards are automatically created when running on Remote SSH. The cropping issue should also be fixed. That patch will become available in our next release (~mid-end May), or you can download VS Code Insiders and opt into daily insiders builds for the Python extension to access the fix now. Thanks for filing a bug and providing feedback 😊 I’ll be closing this issue in favor of https://github.com/microsoft/vscode-python/issues/15807 which has more details from customers.
Are you using Remote-SSH and starting TensorBoard on the remote host? If so, there should be a port forward created for 6006 in the ports management tab at the bottom of VS Code (same panel as the integrated terminal). That port forward needs to remain open for TensorBoard integration to work when the Python extension is installed on a remote host.