Maskrcnn-benchmark: can add tensorboardx for visualize the training status?

Created on 31 Oct 2018  路  11Comments  路  Source: facebookresearch/maskrcnn-benchmark

馃殌 Feature

current training information only display in console, this is not very anschauung锛宑an add tensorboardx to support loss or feature map 's visualize

contributions welcome enhancement

Most helpful comment

In TF OD API the user can run an eval process that

  1. Loads the last checkpoint and evaluates validation images (or a subset of them)
  2. Computes AP for the classes
  3. Plots AP in Tensorboard
  4. Visualizes images in Tensorboard
  5. Waits until a new checkpoint is created and repeats the process

It requires that you keep one GPU for eval but it's nice to have some sort of visibility while training. FRCNN loss outputs are hard to use as a gauge for performance plateaus, IMHO, AP over the validation set is much more informative.

All 11 comments

Adding support for TensorBoard would be a good addition, but I'm currently without bandwidth to add it.

Another alternative is to have a script to parse the logs that are printed, and plot them in a jupyter notebook for example (that's what I've been doing).

I'm planning to add a visdom plotter. Also the only feature I miss from TF OD API is the concurrent eval loop. That's also on my list.

@steve-goley what do you mean by concurrent eval loop?
Currently, it is possible to evaluate using multiple GPUs, is that what you meant?

In TF OD API the user can run an eval process that

  1. Loads the last checkpoint and evaluates validation images (or a subset of them)
  2. Computes AP for the classes
  3. Plots AP in Tensorboard
  4. Visualizes images in Tensorboard
  5. Waits until a new checkpoint is created and repeats the process

It requires that you keep one GPU for eval but it's nice to have some sort of visibility while training. FRCNN loss outputs are hard to use as a gauge for performance plateaus, IMHO, AP over the validation set is much more informative.

@steve-goley oh, I see, yes, that would definitely be a plus to have!

@steve-goley can provide any docs describe TF OD API's visualize support mechanism锛宻o may i can add some doc to do this

@mlinxiang TensorFlow uses TensorBoard. I haven't dug into the checkpoint structure, yet. I think that a similar capability could be constructed with visdom. There are some advantages and disadvantages to visdom over Tensorboard / tensorboardX. I've found visdom quite easy to use and the API, much like many things FAIR, is quite readable and concise. @fmassa do you have a strong opinion on tensorboardX vs. visdom.

given the rich nature and potential of mask-rcnn visualizations, where a lot of custom visualizations might make sense, Visdom seems better longer-term. Visdom has trivial ways to construct rich custom visualizations.

has visdom integrate into pytorch?

I think Visdom works with PyTorch

I think using tensorboardX to visualize the accuracies and losses in real time is a good idea.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

botcs picture botcs  路  3Comments

qijiezhao picture qijiezhao  路  3Comments

adityaarun1 picture adityaarun1  路  3Comments

nanyoullm picture nanyoullm  路  3Comments

mrteera picture mrteera  路  3Comments