fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]automatic saving

shouldsee opened this issue · comments

Dear author,

Thank you for creating and sharing this fabulous tool!

Is your feature request related to a problem? Please describe.
Ex. I'm always frustrated when Visdom crashed and all my data lost. current solutions call vis.save to create json snapshots but this sounds expensive.

Describe the solution you'd like

  • Automatically saving env data to disk on a incremental basis.. when I call vis.scatter to create a plot, the server writes the received data
    immediately to disk.
  • alternatively, server caches data on a periodically basis.
  • open to discuss whether it should be immediate or periodic

Describe alternatives you've considered
Not sure what's the best impl yet.

Hi @shouldsee - you may be interested in the log_to_filename argument, which automatically logs all outgoing plots to a file such that the log can be replayed later if the server crashes.

Hi @shouldsee - you may be interested in the log_to_filename argument, which automatically logs all outgoing plots to a file such that the log can be replayed later if the server crashes.

Sounds cool. This is essentially a transaction log stored to the file. I am more interested in the stateful persistent storage.