7e470179b0d874c43ec6d5dba11d7981ad83dff1,chainercv/datasets/sintel/sintel_dataset.py,SintelDataset,__init__,#SintelDataset#Any#Any#,58

Before Change


            data_dir = os.path.join(data_root, "training")
        self.data_dir = data_dir
        self.paths = self._collect_data(data_dir)
        self.keys = self.paths.keys()

        self.mode = mode

    def __len__(self):

After Change


    is called.
    `source` is the image of the source image and `target` is the image of
    the target image which are both in CHW format. `flow` represents optical
    flow from the source to the target whose shape is :math:`(3, H, W)`.
    :math:`H` and :math:`W` are the height and the width of images.

    Args:
        data_dir (string): Path to the root of the training data. If this is
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: chainer/chainercv
Commit Name: 7e470179b0d874c43ec6d5dba11d7981ad83dff1
Time: 2017-03-10
Author: yuyuniitani@gmail.com
File Name: chainercv/datasets/sintel/sintel_dataset.py
Class Name: SintelDataset
Method Name: __init__


Project Name: ray-project/ray
Commit Name: 50784e249660f84011aee464d163784741337d28
Time: 2020-09-16
Author: fyrestone@outlook.com
File Name: dashboard/datacenter.py
Class Name: DataOrganizer
Method Name: purge


Project Name: hanxiao/bert-as-service
Commit Name: b44d6115097e2bebc4a1ecef869e04e2c60af7bb
Time: 2018-12-15
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name: