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

Before Change


    

    def __init__(self, data_dir="auto", mode="flow"):
        if data_dir == "auto":
            data_root = _get_sintel()
            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

After Change



    .. _`MPI Sintel Flow Dataset`: http://sintel.is.tue.mpg.de/

    This class returns tuple of (source, target, flow) as :meth:`get_example`
    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.
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: deepmipt/DeepPavlov
Commit Name: d86f0ef86868899b112ac61e598a3333fac66ad2
Time: 2018-01-24
Author: arkhipov@yahoo.com
File Name: deeppavlov/models/ner/ner.py
Class Name: NER
Method Name: __init__


Project Name: keras-team/autokeras
Commit Name: fcb45df0e631975461936b8bbd5e293f2ff34277
Time: 2019-01-25
Author: chengchengeasy@gmail.com
File Name: autokeras/predefined_model.py
Class Name: PredefinedModel
Method Name: __init__