google-research/deeplab2

how to run the network and obtain mIOU without training?

SoBeit0209 opened this issue · 2 comments

I put one ckpt downloaded from "deeplab2/g3doc/projects/panoptic_deeplab.md" in "initial_checkpoint", but the eval result is bad.
how can I do?
thanks

meanwhile, I only obtain 10 pictures result, but the val set has 500 pictures in cityscapes

Please make sure the checkpoint is properly loaded.

  1. The ckpt downloaded from projects/panoptic_deeplab.md is all trained. They should not be used as the initial_checkpoint. If you simply want to see the visualization results, you can take a look at the DeepLab_Cityscapes_Demo.
  2. You need to set num_vis_samples, which defaults to 10 (showing only 10 results to save disk space).