Change images slider step in TensorBoard

前端 未结 3 1818
独厮守ぢ
独厮守ぢ 2021-02-02 11:06

TensorBoard 1.1.0\'s images history. I would like to set the slider\'s position (on top of the black image with 7) more precisely, to be able to select any step. Now I can only

3条回答
  •  遥遥无期
    2021-02-02 11:53

    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

提交回复
热议问题