MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / get_relation_matrix

Method get_relation_matrix

mmdet/datasets/openimages.py:357–378  ·  view source on GitHub ↗

Get hierarchy for classes. Args: hierarchy_file (sty): File path to the hierarchy for classes. Returns: ndarray: The matrix of the corresponding relationship between the parent class and the child class, of shape (class_num, class_num

(self, hierarchy_file)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__init__Method · 0.95
test_openimages_datasetFunction · 0.95

Calls 1

Tested by 1

test_openimages_datasetFunction · 0.76