2716ec90b5be79d67cb39c46f1182b9827fa60bc,scripts/datasets/market1501.py,,main,#,38

Before Change


    fpath = osp.join(root, name+".zip")
    exdir = osp.join(root, name)

    if os.path.exists(fpath):
        if not osp.isdir(exdir):
            extract(fpath, root)
            make_list(exdir)

After Change


    makedirs(root)
    fpath = osp.join(root, name + ".zip")
    exdir = osp.join(root, name)
    if not osp.exists(fpath) and not osp.isdir(exdir) and args.no_download:
        raise ValueError(("{} dataset archive not found, make sure it is present."
                          " Or you should not disable "--no-download" to grab it".format(fpath)))
    // Download by default
    if not args.no_download:
        print("Downloading dataset")
        download(url, fpath, overwrite=False)
        print("Dataset downloaded")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dmlc/gluon-cv
Commit Name: 2716ec90b5be79d67cb39c46f1182b9827fa60bc
Time: 2020-05-03
Author: 42975160+HieronymusLex@users.noreply.github.com
File Name: scripts/datasets/market1501.py
Class Name:
Method Name: main


Project Name: AlexEMG/DeepLabCut
Commit Name: 857cb1f38abfc3f467b6a8e53ae54365e05fcff2
Time: 2019-02-23
Author: amathis@fas.harvard.edu
File Name: deeplabcut/create_project/add.py
Class Name:
Method Name: add_new_videos


Project Name: NifTK/NiftyNet
Commit Name: 4aaa81b9394773817b3925e3f068531432e90019
Time: 2017-08-21
Author: t.doel@ucl.ac.uk
File Name: niftynet/utilities/download.py
Class Name:
Method Name: download


Project Name: AlexEMG/DeepLabCut
Commit Name: 2b0745e74e436448c69e251d7c77845a82c0da72
Time: 2019-03-12
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/frame_extraction.py
Class Name:
Method Name: extract_frames