(ds_id)
| 62 | if hasattr(metadata, "thing_dataset_id_to_contiguous_id"): |
| 63 | |
| 64 | def dataset_id_map(ds_id): |
| 65 | return metadata.thing_dataset_id_to_contiguous_id[ds_id] |
| 66 | |
| 67 | elif "lvis" in args.dataset: |
| 68 | # LVIS results are in the same format as COCO results, but have a different |