Skip to content

Feature request: improve (repeated) TensorBoard startup #15476

Closed

Description

@bersbersbers

After starting up VS Code, I regularly start up TensorBoard. Two things are annoying that do not need to be:

  1. The prompt for the log directory could be omitted if the log directory could be remembered (or even better, configured similar to python.pythonPath).
  2. The process could be made persistent*. I have a large log-file directory, and initial parsing takes several minutes until all data are available. I would not mind a TensorBoard process sticking around (and being reused) after closing (and restarting) VS Code.

(*) I usually do this from Python using

with open(log_file, "w") as stdout:
    proc = subprocess.Popen(argv, stdout=stdout, stderr=subprocess.STDOUT)

Activity

  1. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Feb 23, 2021
  2. joyceerhl commented on Feb 25, 2021

    @joyceerhl

    Thanks for the suggestions bersbersbers, we definitely want to do the first one. Our team will discuss prioritization for both.

  3. joyceerhl commented on Mar 8, 2021

    @joyceerhl

    bersbersbers, would the python.tensorBoard.logDirectory setting proposed in #15588 be what you are looking for with your first request?

  4. bersbersbers commented on Mar 8, 2021

    @bersbersbers
    Author

    bersbersbers, would the python.tensorBoard.logDirectory setting proposed in #15588 be what you are looking for with your first request?

    Looks very much like it, yes. Thank you!

  5. joyceerhl commented on Mar 8, 2021

    @joyceerhl

    Great, thanks for your feedback 😊

  6. joyceerhl commented on Mar 12, 2021

    @joyceerhl

    bersbersbers we've added python.tensorBoard.logDirectory as a user-level setting (since there's not a good way to pick the right workspace settings if the current workspace is a multiroot workspace). This will become available in the March release of the Python extension. Thanks again for the feature request!

  7. ghost removed on Mar 12, 2021
  8. bersbersbers commented on Mar 12, 2021

    @bersbersbers
    Author

    Thanks! Is a persistent process covered someplace else, or is that off the table for now?

  9. joyceerhl commented on Mar 12, 2021

    @joyceerhl

    Oh yes, my apologies. Just created a discussion thread for that here: #15658

  10. locked as resolved and limited conversation to collaborators on Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions