Mmdetection: How to add images to tensorboard during training?

Created on 5 Jan 2019  路  4Comments  路  Source: open-mmlab/mmdetection

All 4 comments

@wangg12 mmdetection use hooks to control those modules. If you want to show images on tensorboard, you should first add the images into Runner object (See in mmcv), and upload them to tensorboard using tensorboard hooks

@OceanPang Thank you. It works.

@OceanPang Thank you. It works.
How did you do it, can you share with me?

@LUCKMOONLIGHT I find a way

  1. You need to rewrite the Tensorboard Hook, such as TensorboardImageHook
  2. You need to pass the image object in batch_processor func in train.py to the outputs
  3. You can write the image object to tensorboard in your TensorboardImageHook
Was this page helpful?
0 / 5 - 0 ratings