Add --samples_per_plugin to specify explicit sampling counts#1138
Conversation
…ification of samples to keep per summary type. Previously, TensorBoard always downsampled summaries for OOM reasons but some users wanted the ability to keep all their summaries of some types. With this flag, --samples_per_plugin='histogram=2,images=0' keeps TensorBoard defaults for other summaries, restricts the number of histograms to 2, and keeps all image summaries.
nfelt
approved these changes
Apr 18, 2018
samples_per_plugin that allows for custom spec…
This was referenced Jun 15, 2018
|
If using tensorboard-pytorch, how can one upgrade the tensorboard to 1.9.0 in order to use this feature? |
Contributor
|
@linzhiqiu We have no affiliation with tensorboard-pytorch, but as far as I can tell it looks like tensorboard-pytorch primarily offers a PyTorch-compatible way to write summary data to event files, which you'd then view with regular TensorBoard. So however you're getting TensorBoard now, you would just update it. If you're getting TensorBoard as part of a TensorFlow installation via |
|
Thank you so much for this feature. I was about to manually export all the images, this is 100x better. 😍 |
Author
|
Aw, thank you for telling me that! :)
…On Wed, Jul 25, 2018 at 4:41 PM Jon Perl ***@***.***> wrote:
Thank you so much for this feature. I was about to manually export all the
images, this is 100x better. 😍
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1138 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ab4bt0beKouQ9ys7GzMdwjtY0vFNWLKGks5uKQJFgaJpZM4TXmlH>
.
|
wchargin
added a commit
that referenced
this pull request
Aug 18, 2020
Summary: Before `--samples_per_plugin` existed, the only way to change the sampling thresholds was to patch `application.py` manually. But the flag has been the right way to do this since #1138, and manual patching has been insufficient since the flag value was exposed to plugins in #3271. There’s no need to discuss this implementation detail any more. wchargin-branch: readme-remove-application-reference wchargin-source: b79027ec8b279537bdf38f7b5d7f36cf5dd38498
wchargin
added a commit
that referenced
this pull request
Aug 18, 2020
Summary: Before `--samples_per_plugin` existed, the only way to change the sampling thresholds was to patch `application.py` manually. But the flag has been the right way to do this since #1138, and manual patching has been insufficient since the flag value was exposed to plugins in #3271. There’s no need to discuss this implementation detail any more. wchargin-branch: readme-remove-application-reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add TensorBoard flag
samples_per_pluginthat allows for custom specification of samples to keep per summary type.Previously, TensorBoard always downsampled summaries for OOM reasons but some users wanted the ability to keep all their summaries of some types.
With this flag, --samples_per_plugin='histogram=2,images=0'
keeps TensorBoard defaults for other summaries, restricts the number of histograms to 2, and keeps all image summaries.