8d4bae398068c94d616b244f6354f70f7d12e42d,chainercv/datasets/cub/cub_keypoint_dataset.py,CUBKeypointDataset,get_example,#CUBKeypointDataset#Any#,93
Before Change
else:
return img, keypoint, kp_mask
path, _ = os.path.splitext(self.paths[i])
mask = utils.read_image(
os.path.join(self.mask_dir, path + ".png"),
dtype=np.uint8,
After Change
prob_map = utils.read_image(self.prob_map_paths[i],
dtype=np.uint8, color=False)
prob_map = prob_map.astype(np.float32) / 255 // [0, 255] -> [0, 1]
prob_map = prob_map[0] // (1, H, W) --> (H, W)
if self.return_bb:
return img, keypoint, kp_mask, self.bbs[i], prob_map
else:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: chainer/chainercv
Commit Name: 8d4bae398068c94d616b244f6354f70f7d12e42d
Time: 2017-10-04
Author: yuyuniitani@gmail.com
File Name: chainercv/datasets/cub/cub_keypoint_dataset.py
Class Name: CUBKeypointDataset
Method Name: get_example
Project Name: chainer/chainercv
Commit Name: b74a09166cc3adb79a4d61f7937842cb9556e660
Time: 2017-06-04
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/links/model/faster_rcnn/faster_rcnn.py
Class Name: FasterRCNN
Method Name: __call__
Project Name: dmlc/gluon-cv
Commit Name: b30cdf3a1a977927345f407a4c25be2884cfee7f
Time: 2018-09-06
Author: 8041160+zhanghang1989@users.noreply.github.com
File Name: scripts/segmentation/train.py
Class Name: Trainer
Method Name: validation
Project Name: dmlc/gluon-nlp
Commit Name: 1f9ad444b5dee8b2562b7bfa1cf9f576fa32a347
Time: 2020-07-31
Author: 37728728+ZheyuYe@users.noreply.github.com
File Name: src/gluonnlp/op.py
Class Name:
Method Name: updated_vectors_by_position