open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.71k stars 9.48k forks source link

How to visualize the learning results of Panoptic Segmentation #10370

Open lemonbuilder opened 1 year ago

lemonbuilder commented 1 year ago

I want to know the code that visualizes the learning results of Panoptic Segmentation. What command should I enter? Tell me how to specify a factor such as a checkpoint.

Reproduction

  1. What command or script did you run?

mask2former | panoptic segmentation

  1. What config dir you run?

mmdetection/configs/mask2former/mask2former_r50_lsj_8x2_50e_coco-panoptic.py

  1. Did you make any modifications on the code or config? Did you understand what you have modified?
  2. What dataset did you use?

coco-panoptic & custom dataset

lemonbuilder commented 1 year ago

@chhluo help me

chhluo commented 1 year ago

@lemonbuilder To visualize one sample, refer to https://mmdetection.readthedocs.io/en/3.x/user_guides/inference.html To visualize all samples in the test set, refer to https://github.com/open-mmlab/mmdetection/blob/ecac3a77becc63f23d9f6980b2a36f86acd00a8a/tools/test.py#LL34C22-L34C22