MathGaron / pytorch_toolbox

Boiler plate code for pytorch. Train/Validation loops, visualization etc. For research.
MIT License
10 stars 3 forks source link

Visdom try to start on import #15

Closed MathGaron closed 6 years ago

MathGaron commented 7 years ago

While it can be useful to have visdom stuff in a metaclass, it can be quite annoying

for example, if I simply import the module it tries to connect

jacenfox commented 7 years ago

Visdom needs a running server. I would like to say check the visdom availability after L79 in loop_callback_base.py.

if vis.check_availability():
   return