open-mmlab / mmdetection

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

infer error about visualizer #11411

Open dongfeicui opened 9 months ago

dongfeicui commented 9 months ago

mmdetection/mmdet/visualization/local_visualizer.py", line 153, in _draw_instances label_text = classes[ IndexError: tuple index out of range

https://github.com/open-mmlab/mmdetection/blob/44ebd17b145c2372c4b700bfb9cb20dbd28ab64a/mmdet/visualization/local_visualizer.py#L153-L154

dongfeicui commented 9 months ago

I have tried the solution, but it still failed.