5bc2c075733e672a9a7c5e14bc474788f88e90de,gluoncv/utils/viz/mask.py,,expand_mask,#Any#Any#Any#Any#Any#Any#Any#,9
Before Change
full_masks = []
bboxes *= scale
for i in sorted_inds:
if scores is not None and scores[i] < thresh:
continue
mask = masks[i]
bbox = bboxes[i]
After Change
sorted_inds = np.argsort(range(len(masks)))
bboxes *= scale
valid = np.where(scores >= thresh)[0]
sorted_inds = sorted_inds[valid]
masks = masks[valid]
bboxes = bboxes[valid]
full_masks = fill(masks, bboxes, im_shape)
return full_masks, sorted_inds
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: dmlc/gluon-cv
Commit Name: 5bc2c075733e672a9a7c5e14bc474788f88e90de
Time: 2019-12-06
Author: jerryzh.cn@gmail.com
File Name: gluoncv/utils/viz/mask.py
Class Name:
Method Name: expand_mask
Project Name: AlexEMG/DeepLabCut
Commit Name: 880cc7263c4f45724a2c3e18b4e7ac416f1b3c35
Time: 2020-05-31
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/utils/skeleton.py
Class Name: SkeletonBuilder
Method Name: pick_labeled_frame
Project Name: tryolabs/luminoth
Commit Name: e7079d87b55b8d49d0bc5af6d40d6e50ac212abc
Time: 2018-03-20
Author: psoto23.ps@gmail.com
File Name: luminoth/models/ssd/ssd_target.py
Class Name: SSDTarget
Method Name: _build