Comments (3)
I support this approach. True, it does make the boilerplate that all plugins should copypasta a little more verbose (I wish we could abstract it away, but c'est la vie). But I think the added complexity is low, and it will make a better user experience.
from tensorboard.
Hello there, I write a simple chrome extension for hiding empty panes/scalars.
https://github.com/Jasonnor/tensorboard-empty-scalar-hider
Hope it helps! π
from tensorboard.
There are two ways to do this:
- Make the categorizer not output empty categories.
- Make the dashboards not render empty categories.
The first approach would lead to our standard Polymer-induced data
binding issues (as described in, e.g., #170), so we should try not to do
this.
The second approach would be possible at the cost of additional plugin
code:
diff --git a/tensorboard/plugins/scalar/tf_scalar_dashboard/tf-scalar-dashboard.html b/tensorboard/plugins/scalar/tf_scalar_dashboard/tf-scalar-dashboard.html
index c99eae1..c558ec2 100644
--- a/tensorboard/plugins/scalar/tf_scalar_dashboard/tf-scalar-dashboard.html
+++ b/tensorboard/plugins/scalar/tf_scalar_dashboard/tf-scalar-dashboard.html
@@ -127,6 +127,7 @@ limitations under the License.
</paper-input>
<template is="dom-repeat" items="[[_categories]]" as="category">
<tf-category-pane category="[[category]]">
+ <template is="dom-if" if="[[!category.empty]]">
<tf-paginated-view
items="[[category.items]]"
pages="{{category._pages}}"
@@ -151,6 +152,7 @@ limitations under the License.
</template>
</template>
</tf-paginated-view>
+ </template>
</tf-category-pane>
</template>
</template>
(category.empty
would need to be added to the categorizer output, but
that's easy.)
(That immediate area already goes four templates deep, but that doesn't
necessarily mean that this is the wrong thing to do.)
from tensorboard.
Related Issues (20)
- tensorboard title HOT 3
- My TensorBoard isn't showing any data! What's wrong? HOT 1
- Isolate point HOT 4
- module 'PIL.Image' has no attribute 'ANTIALIAS' HOT 1
- Exception when debugging in pycharm only related with the import the tensorflow library. HOT 1
- UMAP and TSNE for Embedding Projector Doesn't Load HOT 1
- In colab, load tensorboard settings from the command line: %tensorboard --settings HOT 3
- Numpy 2.0 API compatibility issue HOT 12
- TensorBoard canβt find your event files.Log directory: hdfs://tensorboard_log HOT 1
- NumPy v2 Compatibility HOT 3
- Sliders on Histograms HOT 3
- Unable to Retrieve Embedding Arrays From TensorBoard Logs HOT 1
- Feature Request: Make scalars pinnable within code HOT 1
- Enable Link-Time Optimization (LTO) and evaluate other optimizations for TensorBoard HOT 1
- Tensorboard is showing no data HOT 5
- Bump Tensorboard to protobuf 5
- Capture profile successfully, After refresh the tensorboard show No profile data was found. HOT 1
- fail to create whl HOT 3
- Update Tensorflow Stub DType HOT 3
- Writing large number of metrics to Google Cloud Storage via Cloud Storage FUSE is very slow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorboard.