tensorflow / tensorboard

TensorFlow's Visualization Toolkit
Apache License 2.0
6.7k stars 1.66k forks source link

Ability to Collapse Sub-Runs with Hierarchical Naming Convention #6225

Open Marius-Juston opened 1 year ago

Marius-Juston commented 1 year ago

Summary

As a user of TensorBoard, I find it challenging to navigate and analyze data when working with many runs or custom logs. I would like TensorBoard to have a built-in feature that allows me to collapse sub-runs with a hierarchical naming convention. This would enable me to better organize and visualize my runs and significantly improve my user experience.

Background

TensorBoard currently lacks the ability to collapse sub-runs in this way. Although the "Regex Filter" feature can group runs based on a regular expression, it is not as intuitive or convenient as the proposed feature. By collapsing sub-runs with hierarchical names, I would be able to easily see the relationship between different runs and better understand how they fit into my overall analysis.

Proposed Solution

I propose that TensorBoard add a feature to collapse sub-runs with the naming convention of "parent_run/child_run/...". Ideally, the collapsed sub-runs would appear as a single entry with a toggle button to expand or collapse the view. This feature would make it easier for users to visualize and organize their runs and improve the overall usability of TensorBoard.

Current solution: image

Proposed solution: Screenshot 2023-03-08 010316

Conclusion

As a researcher who frequently works with deep learning models, I rely on TensorBoard to monitor the performance of my experiments. By adding the ability to collapse sub-runs with a hierarchical naming convention, TensorBoard would become a more efficient tool for organizing and analyzing data. I hope this feature request can be considered for implementation in a future release. Thank you.

groszewn commented 1 year ago

Hi @Marius-Juston, thanks for the feature request.

This approach seems like it may struggle with highly-nested runs, but it is an interesting request. It's unlikely that we'll be able to prioritize this over other pressing items right now, but I'll leave this open for others to +1 to gauge community interest.

Marius-Juston commented 1 year ago

To be honest, I think it would be fine to have this work only for the first and second levels of the hierarchy. I would think that that would encompass most situations. Thank you for looking at this!