rdevon / cortex

A machine learning library for PyTorch
BSD 3-Clause "New" or "Revised" License
92 stars 25 forks source link

Visdom - Append point to graph instead of recreating it for every new datapoints. #169

Closed lavoiems closed 5 years ago

lavoiems commented 6 years ago

Visdom allows to append datapoint to a figure (see: append at https://github.com/facebookresearch/visdom#visline). I think it would be more efficient to append rather than creating from scratch every time.

One edge case I can see is that when you rerun an experiment using the same name as one experiment previously used (i.e. you already have a visualization with a given name and you rerun an experiment using the same name), the data point could be appended to a graph computed from a previous experiment. This is not a desired effect.

It looks like it is possible to delete an environment from the python interface. But we would have to be very careful not to delete an environment that a user still use.