Skip to content

Conversation

@wchargin
Copy link
Contributor

Summary:
This patch adds support for TF 1.x tagged_run_metadata events. Because
this is a new top-level event type, the change extends into the run
module as well as data_compat, but the changed surface area is still
rather small.

Test Plan:
The graphs demo added in #4469 includes tagged run metadata graphs. They
now appear in the graphs dashboard with --load_fast, and include
compute time information.

wchargin-branch: rust-tagged-run-metadata

Summary:
We now support TF 1.x images, TF 2.x images, and any tensors that have
an explicit blob sequence data class.

Test Plan:
Unit tests included. As an end-to-end test, images now appear in
TensorBoard with `--load_fast`, in both the images and time series
dashboards.

wchargin-branch: rust-images-generic-blobs
wchargin-source: 614b7b48a326e3303af05b5790da402ba5f72af3
Summary:
For some data types, data-compat conversions of _values_ depend on the
time series _metadata_. For instance, we need to adjust the shapes of
audio tensors to remove labels, and we need to update graph sub-plugins
(Keras models, etc.) to convert scalars to tensors. This patch updates
the `EventValue::into_blob_sequence` interface to require a reference to
the initial summary metadata so that we can add support for such data
types. It’s not yet used.

Test Plan:
Existing unit tests suffice; for an end-to-end test the graphs and
images plugins still work.

wchargin-branch: rust-blob-sequence-metadata
wchargin-source: 318204dbc3eaedf339f13b4d166b9b823248a6af
Summary:
We now support TF 1.x and TF 2.x audio summaries. This includes TF 2.x
audio summaries with labels; the labels will be stripped. This means
that the audio dashboard now works under `--load_fast`.

Test Plan:
Unit tests should suffice. As an end-to-end test, checked the audio
dashboard against TF 2.x audio summaries both with and without labels
(i.e., of shape `[k, 2]` and of shape `[k]`), and against [TF 1.x data].

[TF 1.x data]: https://gist.github.com/wchargin/d9c415fb609119824919de8391d0b8c4

wchargin-branch: rust-audio
wchargin-source: 16ec21cd82fb0145b816d2d2b3e01859d4a54511
Summary:
This patch adds support for TF 1.x `tagged_run_metadata` events. Because
this is a new top-level event type, the change extends into the `run`
module as well as `data_compat`, but the changed surface area is still
rather small.

Test Plan:
The graphs demo added in #4469 includes tagged run metadata graphs. They
now appear in the graphs dashboard with `--load_fast`, and include
compute time information.

wchargin-branch: rust-tagged-run-metadata
wchargin-source: e8ed2e7af25aba1206bccf77218edaf231b1c858
@wchargin wchargin added plugin:graph core:rustboard //tensorboard/data/server/... plugin:graph:profile Profile information displayed in the Graph labels Jan 16, 2021
@google-cla google-cla bot added the cla: yes label Jan 16, 2021
@wchargin wchargin requested a review from stephanwlee January 16, 2021 02:28
Base automatically changed from wchargin-rust-audio to master January 19, 2021 21:14
wchargin-branch: rust-tagged-run-metadata
wchargin-source: e15fce57af63333f86dcc6e530466a866c90b76d

# Conflicts:
#	tensorboard/data/server/data_compat.rs
wchargin-branch: rust-tagged-run-metadata
wchargin-source: e15fce57af63333f86dcc6e530466a866c90b76d
@wchargin wchargin mentioned this pull request Jan 19, 2021
34 tasks
@wchargin wchargin merged commit 040f677 into master Jan 19, 2021
@wchargin wchargin deleted the wchargin-rust-tagged-run-metadata branch January 19, 2021 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes core:rustboard //tensorboard/data/server/... plugin:graph:profile Profile information displayed in the Graph plugin:graph

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants