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

Method _load_masks

mmdet/datasets/pipelines/loading.py:334–357  ·  view source on GitHub ↗

Private function to load mask annotations. Args: results (dict): Result dict from :obj:`mmdet.CustomDataset`. Returns: dict: The dict contains loaded mask annotations. If ``self.poly2mask`` is set ``True``, `gt_mask` will contain

(self, results)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__call__Method · 0.95

Calls 4

_poly2maskMethod · 0.95
process_polygonsMethod · 0.95
BitmapMasksClass · 0.90
PolygonMasksClass · 0.90

Tested by

no test coverage detected