91bb9f05e95d0902f5fcd9c4ef8dee5f193c8bf7,create_training_dataset.py,,,#,183

Before Change


        download_coco_data(args.coco_image_dir)

    image_directory = os.path.join(args.coco_image_dir, "train2014/")
    if not os.path.isdir(image_directory):
        sys.exit(
            "Error: There is no `train2014/` folder in the provided directory."
        )

    CocoPreprocessor.process_images(
        image_directory,
        args.output,
        image_size=(args.img_height, args.img_width),

After Change


        download_coco_data(image_directory)
        image_directory = os.path.join(image_directory, "train2014")

    image_directory = os.path.join(args.image_dir)
    DatasetCreator.process_images(
        image_directory,
        args.output,
        image_size=(args.img_height, args.img_width),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: fritzlabs/fritz-models
Commit Name: 91bb9f05e95d0902f5fcd9c4ef8dee5f193c8bf7
Time: 2018-08-04
Author: jamesontoole@gmail.com
File Name: create_training_dataset.py
Class Name:
Method Name:


Project Name: dmlc/gluon-nlp
Commit Name: 29c957249fbdd4d5f7f517772835b7dc31a85e94
Time: 2020-01-15
Author: linhaibin.eric@gmail.com
File Name: src/gluonnlp/data/utils.py
Class Name:
Method Name: _load_pretrained_vocab


Project Name: rtavenar/tslearn
Commit Name: 7eda0ba9f842e7b125f397182abd513d5d22b17d
Time: 2018-04-21
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/datasets.py
Class Name: UCR_UEA_datasets
Method Name: load_dataset


Project Name: tensorflow/models
Commit Name: 674506c409d5c1a71c9ee2a974fa94a2b94b6e84
Time: 2020-09-18
Author: hongkuny@google.com
File Name: official/nlp/modeling/layers/tn_expand_condense_test.py
Class Name: TNLayerTest
Method Name: test_model_save