作者:平凡小几 | 来源:互联网 | 2023-09-04 18:21
- TensorBoard version: 1.12.0
- OS Platform and version: Linux Ubuntu 16.04
Nice to talk with you at our first SIG group online today
I was the guy asking about plugins and 3rd parties from a TB-programmer perspective.
I'm following up on one of my questions from today. My goal is to embed any datatable/grid into the a new TB plugin I'm writing. However, most of the polymer-compatible datatables I see do not support older versions of polymer. Except this one - this one is simple enough it might work:
https://www.webcomponents.org/element/Saulis/iron-data-table
My new plugin's html files imports these:
But my
output says this:
1 2 3
| ERROR: /home/cvinson/cvinson-dev/gitlab/tensorflow-tensorboard/tensorboard/plugins/gpu_summary/tf_gpu_summary_board/BUILD:11:1: Checking webfiles //tensorboard/plugins/gpu_summary/tf_gpu_summary_board:tf_gpu_summary_board failed (Exit 1)
ERROR: tensorboard/plugins/gpu_summary/tf_gpu_summary_board/tf-gpu-summary-board.html: Referenced bower_components/iron-ajax/iron-ajax.html (/tf-gpu-summary-board/bower_components/iron-ajax/iron-ajax.html) without depending on a web_library() rule providing it
ERROR: tensorboard/plugins/gpu_summary/tf_gpu_summary_board/tf-gpu-summary-board.html: Referenced bower_components/iron-data-table/iron-data-table.html (/tf-gpu-summary-board/bower_components/iron-data-table/iron-data-table.html) without depending on a web_library() rule providing it |
I have tried adding entries to
and
1
| tensorboard_webcomponent_library |
to no avail.
Could you give some guidance on how to update the bazel BUILD files so I can see the datatable?
Thanks,
-Chris
PS--As I'm about to submit this, I see a reference to a datatable in
1
| plugins/profile/google_chart/google-chart-loader.html |
. If TB has Google Charts wrapped as a web component already, that would be even better. Any guidance on its reuse into new TB plugins would be appreciated.
该提问来源于开源项目:tensorflow/tensorboard
Perfect. Thanks.