fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.
Apache License 2.0
9.98k stars 1.14k forks source link

How to store (or save) and resume a experiment window in envs you obtained after creation of a window? #737

Open sekigh opened 4 years ago

sekigh commented 4 years ago

I created a experiment window in environment " tutorial plot" by using sample codes, train.py and utils.py shown this https://github.com/facebookresearch/visdom/ and successfully obtained loss and accuracy curves on windows on browser. However, I have problem in how to store (or save) windows with created curves and resume them. Once I stop "$python visdom", the windows are gone and never show up again even if I start "$ python visdom". How should I do ? I reviewed https://github.com/facebookresearch/visdom#overview followed description under save to save windows under the name of "saved_data" but never restore them again. Screenshot at 2020-06-01 14-26-41

sekigh commented 4 years ago

The codes, train.py and utils.py which I used as sample codes are under https://github.com/noagarcia/visdom-tutorial. Sorry for confusion.

JackUrb commented 4 years ago

Have you tried using vis.save or using the save button on the frontend (the folder icon closest to your environment name)?

sekigh commented 4 years ago

I used the "save" button on the frontend .

JackUrb commented 4 years ago

Alright, has anything been written to your ~/.visdom/ directory?

BotMan-Sz commented 2 months ago

Hey, dear JackUrb,
If i have saved a environment in my ~ /.visom/ env_name.json file, can i restore it in the webpage when i closed my env_name environment in my webpage? I know i can restore my environment from the log file assigned as visdom_log_name log file when i start my visdom.Visdom object. But how can i reload the json file to the webpage, i didn't found the correponding functions yet, please help me~ thanks