3cbeab42c246425425c584cd53f1cc25d8c738a7,torchreid/datasets/__init__.py,,init_imgreid_dataset,#Any#,46

Before Change




def init_imgreid_dataset(name, **kwargs):
    if name not in list(__imgreid_factory.keys()):
        raise KeyError("Invalid dataset, got "{}", but expected to be one of {}".format(name, list(__imgreid_factory.keys())))
    return __imgreid_factory[name](**kwargs)


def init_vidreid_dataset(name, **kwargs):

After Change



def init_imgreid_dataset(name, **kwargs):
    avai_datasets = list(__imgreid_factory.keys())
    if name not in avai_datasets:
        raise RuntimeError("Invalid dataset name. Received "{}", but expected to be one of {}".format(name, avai_datasets))
    return __imgreid_factory[name](**kwargs)


def init_vidreid_dataset(name, **kwargs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: KaiyangZhou/deep-person-reid
Commit Name: 3cbeab42c246425425c584cd53f1cc25d8c738a7
Time: 2019-03-15
Author: k.zhou@qmul.ac.uk
File Name: torchreid/datasets/__init__.py
Class Name:
Method Name: init_imgreid_dataset


Project Name: datascienceinc/Skater
Commit Name: 5f3e7ef013b7cecda55d9dd7fcc8f55cb01eee1b
Time: 2017-04-21
Author: aikramer2@gmail.com
File Name: pyinterpret/data/dataset.py
Class Name: DataManager
Method Name: __getitem__


Project Name: KaiyangZhou/deep-person-reid
Commit Name: 3cbeab42c246425425c584cd53f1cc25d8c738a7
Time: 2019-03-15
Author: k.zhou@qmul.ac.uk
File Name: torchreid/datasets/__init__.py
Class Name:
Method Name: init_vidreid_dataset