MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / dataset_id_map

Function dataset_id_map

tools/visualize_json_results.py:64–65  ·  view source on GitHub ↗
(ds_id)

Source from the content-addressed store, hash-verified

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

Callers 1

create_instancesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected