Generate random bitmap masks for demo / testing purposes. Example: >>> from mmdet.core.mask.structures import BitmapMasks >>> self = BitmapMasks.random() >>> print('self = {}'.format(self)) self = BitmapMasks(num_masks=3, height=32, width=32)
(cls,
num_masks=3,
height=32,
width=32,
dtype=np.uint8,
rng=None)
source not stored for this graph (policy: none)