open-mmlab / mmselfsup

OpenMMLab Self-Supervised Learning Toolbox and Benchmark
https://mmselfsup.readthedocs.io/en/latest/
Apache License 2.0
3.14k stars 429 forks source link

Visualization with tensorboard #747

Closed Acuhe closed 1 year ago

Acuhe commented 1 year ago

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. I have read the FAQ documentation but cannot get the expected help.

I followed the instruction: https://mmselfsup.readthedocs.io/en/dev-1.x/user_guides/visualization.html I simply paste "vis_backends = [dict(type='TensorboardVisBackend')] visualizer = dict( type='SelfSupVisualizer', vis_backends=vis_backends, name='visualizer')" in my config file based on /content/mmselfsup/configs/benchmarks/mmdetection/voc0712/faster_rcnn_r50_c4_ms-3k_voc0712

But got this error: 'SelfSupVisualizer' is not in the registry of visualizer

I tried: custom_imports = dict(

 imports=['mmselfsup.visualization.selfsup_visualizer'],
 allow_failed_imports=False)

But it doesn't work.