Change images slider step in TensorBoard

I answered this question over there “TensorBoard doesn’t show all data points”, but this seems to be more popular so I will quote it here.

You don’t have to change the source code for this, there is a flag called --samples_per_plugin.

Quoting from the help command

–samples_per_plugin: An optional comma separated list of plugin_name=num_samples pairs to explicitly
specify how many samples to keep per tag for that plugin. For unspecified plugins, TensorBoard
randomly downsamples logged summaries to reasonable values to prevent out-of-memory errors for long
running jobs. This flag allows fine control over that downsampling. Note that 0 means keep all
samples of that type. For instance, “scalars=500,images=0″ keeps 500 scalars and all images. Most
users should not need to set this flag.
(default: ”)

So if you want to have a slider of 100 images, use:

tensorboard --samples_per_plugin images=100

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)