File tree Expand file tree Collapse file tree 14 files changed +281
-18
lines changed
tf_wit_redirect_dashboard Expand file tree Collapse file tree 14 files changed +281
-18
lines changed Original file line number Diff line number Diff line change 1
1
# Model Understanding with the What-If Tool Dashboard
2
2
3
+ > ** Warning**
4
+ > This documentation only applies to TensorBoard 2.11 and earlier, as the
5
+ > What-If Tool is no longer actively maintained. Please check out the actively
6
+ > maintained [ Learning Interpretability Tool
7
+ > (LIT)] ( https://pair-code.github.io/lit/ ) instead.
8
+
3
9
![ What-If Tool] ( ./images/what_if_tool.png )
4
10
5
11
The What-If Tool (WIT) provides an easy-to-use interface for expanding
Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ py_library(
320
320
"//tensorboard/plugins/profile_redirect:profile_redirect_plugin" ,
321
321
"//tensorboard/plugins/scalar:scalars_plugin" ,
322
322
"//tensorboard/plugins/text:text_plugin" ,
323
+ "//tensorboard/plugins/wit_redirect:wit_redirect_plugin" ,
323
324
],
324
325
)
325
326
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ tf_ts_library(
21
21
"//tensorboard/plugins/profile_redirect/tf_profile_redirect_dashboard" ,
22
22
"//tensorboard/plugins/scalar/tf_scalar_dashboard" ,
23
23
"//tensorboard/plugins/text/tf_text_dashboard" ,
24
+ "//tensorboard/plugins/wit_redirect/tf_wit_redirect_dashboard" ,
24
25
],
25
26
)
26
27
Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ import '../plugins/profile_redirect/tf_profile_redirect_dashboard/tf-profile-red
26
26
import '../plugins/pr_curve/tf_pr_curve_dashboard/tf-pr-curve-dashboard' ;
27
27
import '../plugins/scalar/tf_scalar_dashboard/tf-scalar-dashboard' ;
28
28
import '../plugins/text/tf_text_dashboard/tf-text-dashboard' ;
29
+ import '../plugins/wit_redirect/tf_wit_redirect_dashboard/tf-wit-redirect-dashboard' ;
29
30
import './polymer3_interop_helper' ;
Original file line number Diff line number Diff line change 44
44
from tensorboard .plugins .scalar import scalars_plugin
45
45
from tensorboard .plugins .text import text_plugin
46
46
from tensorboard .plugins .mesh import mesh_plugin
47
+ from tensorboard .plugins .wit_redirect import wit_redirect_plugin
47
48
48
49
49
50
logger = logging .getLogger (__name__ )
67
68
profile_redirect_plugin .ProfileRedirectPluginLoader ,
68
69
hparams_plugin .HParamsPlugin ,
69
70
mesh_plugin .MeshPlugin ,
71
+ wit_redirect_plugin .WITRedirectPluginLoader ,
70
72
]
71
73
72
74
Original file line number Diff line number Diff line change @@ -30,6 +30,5 @@ protobuf >= 3.19.6
30
30
requests >= 2.21.0 , < 3
31
31
setuptools >= 41.0.0 # Note: provides pkg_resources as well as setuptools
32
32
tensorboard-data-server >= 0.7.0 , < 0.8.0
33
- tensorboard-plugin-wit >= 1.6.0
34
33
werkzeug >= 1.0.1
35
34
wheel >= 0.26
Original file line number Diff line number Diff line change 1
1
# What-If Tool
2
2
3
+ > ** Warning**
4
+ > The What-If Tool is no longer actively maintained. Please use the actively
5
+ > maintained [ Learning Interpretability Tool (LIT)] ( https://pair-code.github.io/lit/ )
6
+ > instead.
7
+
3
8
The What-If Tool code and documentation has moved to https://github.com/pair-code/what-if-tool .
4
9
5
10
The What-If Tool TensorBoard plugin has been converted to a dynamic plugin, through the tensorboard-plugin-wit pip package.
Original file line number Diff line number Diff line change
1
+ # Description:
2
+ # Plugin with installation instructions for dynamic interpretability plugin
3
+
4
+ package (default_visibility = ["//tensorboard:internal" ])
5
+
6
+ licenses (["notice" ])
7
+
8
+ py_library (
9
+ name = "wit_redirect_plugin" ,
10
+ srcs = ["wit_redirect_plugin.py" ],
11
+ srcs_version = "PY3" ,
12
+ deps = [
13
+ "//tensorboard/plugins:base_plugin" ,
14
+ ],
15
+ )
16
+
17
+ py_test (
18
+ name = "wit_redirect_plugin_test" ,
19
+ srcs = ["wit_redirect_plugin_test.py" ],
20
+ srcs_version = "PY3" ,
21
+ deps = [
22
+ ":wit_redirect_plugin" ,
23
+ "//tensorboard:test" ,
24
+ "//tensorboard/plugins:base_plugin" ,
25
+ ],
26
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # ==============================================================================
Original file line number Diff line number Diff line change
1
+ load ("//tensorboard/defs:defs.bzl" , "tf_ts_library" )
2
+
3
+ package (default_visibility = ["//tensorboard:internal" ])
4
+
5
+ licenses (["notice" ])
6
+
7
+ tf_ts_library (
8
+ name = "tf_wit_redirect_dashboard" ,
9
+ srcs = ["tf-wit-redirect-dashboard.ts" ],
10
+ strict_checks = False ,
11
+ deps = [
12
+ "//tensorboard/components/polymer:irons_and_papers" ,
13
+ "//tensorboard/components/polymer:legacy_element_mixin" ,
14
+ "@npm//@polymer/decorators" ,
15
+ "@npm//@polymer/polymer" ,
16
+ ],
17
+ )
You can’t perform that action at this time.
0 commit comments