torch / optim

A numeric optimization package for Torch.
Other
197 stars 152 forks source link

multiple plots with optim.logger #125

Closed YitzhakSp closed 8 years ago

YitzhakSp commented 8 years ago

is there a way to have multiple plots in one figure? one plot works fine, but when I do something like logger:add{['training loss'] = loss1 }; logger:add{['test loss'] = loss2} it gives an error. so I define two loggers but the disadvantage is, that they produce two figures instead of one.

ajdroid commented 8 years ago

@YitzhakSp , why did you close this?

YitzhakSp commented 8 years ago

because the answer is found in the documentation:

https://github.com/torch/optim/blob/master/doc/logger.md