8a3775bf8aad7553cdd1ddefb474e0d3c4dc3f30,alphapose/datasets/custom.py,CustomDataset,__getitem__,#CustomDataset#Any#,92

Before Change



        // load ground truth, including bbox, keypoints, image size
        label = copy.deepcopy(self._labels[idx])
        img = scipy.misc.imread(img_path, mode="RGB")

        // transform ground truth into training label and apply data augmentation
        img, label, label_mask, bbox = self.transformation(img, label)
        return img, label, label_mask, img_id, bbox

After Change



        // load ground truth, including bbox, keypoints, image size
        label = copy.deepcopy(self._labels[idx])
        img = cv2.cvtColor(cv2.imread(img_path), cv2.COLOR_BGR2RGB) //scipy.misc.imread(img_path, mode="RGB") is depreciated

        // transform ground truth into training label and apply data augmentation
        img, label, label_mask, bbox = self.transformation(img, label)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: MVIG-SJTU/AlphaPose
Commit Name: 8a3775bf8aad7553cdd1ddefb474e0d3c4dc3f30
Time: 2020-08-30
Author: 510641426@qq.com
File Name: alphapose/datasets/custom.py
Class Name: CustomDataset
Method Name: __getitem__


Project Name: MVIG-SJTU/AlphaPose
Commit Name: 8a3775bf8aad7553cdd1ddefb474e0d3c4dc3f30
Time: 2020-08-30
Author: 510641426@qq.com
File Name: trackers/utils/basetransforms.py
Class Name:
Method Name: load_image


Project Name: MVIG-SJTU/AlphaPose
Commit Name: 8a3775bf8aad7553cdd1ddefb474e0d3c4dc3f30
Time: 2020-08-30
Author: 510641426@qq.com
File Name: alphapose/utils/transforms.py
Class Name:
Method Name: load_image


Project Name: MVIG-SJTU/AlphaPose
Commit Name: c67b5a3b83b1dda558b74c1da075b7fcd0f8455f
Time: 2020-08-10
Author: 510641426@qq.com
File Name: alphapose/utils/detector.py
Class Name: DetectionLoader
Method Name: image_preprocess