tensorflow / tensorflow/tensorboard
Cannot view example plugins in tensorboard
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
Environment information (required)
Diagnostics
Diagnostics output
--- check: autoidentify
INFO: diagnose_tensorboard.py version 516a2f9433ba4f9c3a4fdb0f89735870eda054a1
--- check: general
INFO: sys.version_info: sys.version_info(major=3, minor=9, micro=13, releaselevel='final', serial=0)
INFO: os.name: posix
INFO: os.uname(): posix.uname_result(sysname='Darwin', nodename='dbnpc148ftp.ads.autodesk.com', release='21.6.0', version='Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64', machine='x86_64')
INFO: sys.getwindowsversion(): N/A
--- check: package_management
INFO: has conda-meta: False
INFO: $VIRTUAL_ENV: '/Users/meltzep/PyCharmProjects/example_raw_scalars/venv'
--- check: installed_packages
INFO: installed: tensorboard==2.11.0
INFO: installed: tensorflow==2.11.0
INFO: installed: tensorflow-estimator==2.11.0
INFO: installed: tensorboard-data-server==0.6.1
--- check: tensorboard_python_version
INFO: tensorboard.version.VERSION: '2.11.0'
--- check: tensorflow_python_version
2022-12-18 16:31:42.440164: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
INFO: tensorflow.__version__: '2.11.0'
INFO: tensorflow.__git_version__: 'v2.11.0-rc2-17-gd5b57ca93e5'
--- check: tensorboard_data_server_version
INFO: data server binary: '/Users/meltzep/PyCharmProjects/example_raw_scalars/venv/lib/python3.9/site-packages/tensorboard_data_server/bin/server'
INFO: data server binary version: b'rustboard 0.6.1'
--- check: tensorboard_binary_path
INFO: which tensorboard: b'/Users/meltzep/PyCharmProjects/example_raw_scalars/venv/bin/tensorboard\n'
--- check: addrinfos
socket.has_ipv6 = True
socket.AF_UNSPEC = <AddressFamily.AF_UNSPEC: 0>
socket.SOCK_STREAM = <SocketKind.SOCK_STREAM: 1>
socket.AI_ADDRCONFIG = <AddressInfo.AI_ADDRCONFIG: 1024>
socket.AI_PASSIVE = <AddressInfo.AI_PASSIVE: 1>
Loopback flags: <AddressInfo.AI_ADDRCONFIG: 1024>
Loopback infos: [(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::1', 0, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 0))]
Wildcard flags: <AddressInfo.AI_PASSIVE: 1>
Wildcard infos: [(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::', 0, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('0.0.0.0', 0))]
--- check: readable_fqdn
INFO: socket.getfqdn(): 'dbnpc148ftp.ads.autodesk.com'
--- check: stat_tensorboardinfo
INFO: directory: /var/folders/p3/zs5cp__j0dj28_zy3cn35wt80000gp/T/.tensorboard-info
INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=36980904, st_dev=16777220, st_nlink=2, st_uid=502, st_gid=20, st_size=64, st_atime=1671378671, st_mtime=1671381076, st_ctime=1671381076)
INFO: mode: 0o40777
--- check: source_trees_without_genfiles
INFO: tensorboard_roots (1): ['/Users/meltzep/PyCharmProjects/example_raw_scalars/venv/lib/python3.9/site-packages']; bad_roots (0): []
--- check: full_pip_freeze
INFO: pip freeze --all:
absl-py==1.3.0
astunparse==1.6.3
cachetools==5.2.0
certifi==2022.12.7
charset-normalizer==2.1.1
flatbuffers==22.12.6
gast==0.4.0
google-auth==2.15.0
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.51.1
h5py==3.7.0
idna==3.4
importlib-metadata==5.1.0
keras==2.11.0
libclang==14.0.6
Markdown==3.4.1
MarkupSafe==2.1.1
numpy==1.23.5
oauthlib==3.2.2
opt-einsum==3.3.0
packaging==22.0
pip==21.3.1
protobuf==3.19.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
requests==2.28.1
requests-oauthlib==1.3.1
rsa==4.9
setuptools==60.2.0
six==1.16.0
tensorboard==2.11.0
tensorboard-data-server==0.6.1
# Editable install with no version control (tensorboard-plugin-example-raw-scalars==0.1.0)
-e /Users/meltzep/PyCharmProjects/example_raw_scalars
tensorboard-plugin-wit==1.8.1
tensorflow==2.11.0
tensorflow-estimator==2.11.0
tensorflow-io-gcs-filesystem==0.28.0
termcolor==2.1.1
typing_extensions==4.4.0
urllib3==1.26.13
Werkzeug==2.2.2
wheel==0.37.1
wrapt==1.14.1
zipp==3.11.0
Browser:
Chrome - Version 106.0.5249.119 (Official Build) (x86_64) on Mac OS Monterey 12.6
Issue description
Cannot view the example plugins in tensorboard.
I have cloned tensorboard repo, copied the example tensorboard plugins and followed the instructions in their readmes.
Example Basic
The plugin writes the summaries but no tab shows up in tensorboard to view them. Running --inspect on the logdir returns:
TensorFlow installation not found - running with reduced feature set.
======================================================================
Processing event files... (this can take a few minutes)
======================================================================
Found event files in:
tensorboard_plugin_example/demo_logs
These tags are in tensorboard_plugin_example/demo_logs:
audio -
histograms -
images -
scalars -
tensor
guestbook
more_names
======================================================================
Event statistics for tensorboard_plugin_example/demo_logs:
audio -
graph -
histograms -
images -
scalars -
sessionlog:checkpoint -
sessionlog:start -
sessionlog:stop -
tensor
first_step 0
last_step 4
max_step 4
min_step 0
num_steps 4
outoforder_steps []
======================================================================
Example Raw Scalars
Data is written to summaries and shows up in the standard SCALARS tab, however there is no EXAMPLE_RAW_SCALARS tab.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the example plugin READMEs and the example log directory, tensorboard_plugin_example/demo_logs; run the documented TensorBoard commands and compare the Basic and Raw Scalars behavior with --inspect. Trace why the generated summaries do not produce their expected plugin tabs, and verify that both example plugins render their dedicated tabs while standard scalars remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100