MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / decode

Function decode

eval/CIPO_evaluation/pycocotools/mask.py:101–105  ·  view source on GitHub ↗
(rleObjs)

Source from the content-addressed store, hash-verified

99 return _mask.encode(bimask.reshape((h, w, 1), order='F'))[0]
100
101def decode(rleObjs):
102 if type(rleObjs) == list:
103 return _mask.decode(rleObjs)
104 else:
105 return _mask.decode([rleObjs])[:,:,0]
106
107def area(rleObjs):
108 if type(rleObjs) == list:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected