29ab5e1965503be3ffe87462e973edf1d457af6e,codes/scripts/extract_subimgs_single.py,,main,#,9

Before Change


    p.close()
    p.join()
    end = time.time()
    print("All subprocesses done. Using time {} sec.".format(end - start))


def worker(GT_paths, save_GT_dir):
    crop_sz = 480

After Change


        print("mkdir [{:s}] ...".format(save_folder))
    else:
        print("Folder [{:s}] already exists. Exit...".format(save_folder))
        sys.exit(1)

    img_list = []
    for root, _, file_list in sorted(os.walk(input_folder)):
        path = [os.path.join(root, x) for x in file_list]  // assume only images in the input_folder
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: xinntao/BasicSR
Commit Name: 29ab5e1965503be3ffe87462e973edf1d457af6e
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/extract_subimgs_single.py
Class Name:
Method Name: main


Project Name: geekcomputers/Python
Commit Name: 540a1afef555acb0df0c0fa80642ea6156bcf2c8
Time: 2019-10-23
Author: abrahamguernsey@gmail.com
File Name: find_cube_root.py
Class Name:
Method Name:


Project Name: baldassarreFe/deep-koalarization
Commit Name: c9fb02940b16716901d0a2eef95abab827c25896
Time: 2020-05-15
Author: baldassarre.fe@gmail.com
File Name: src/koalarization/evaluate.py
Class Name:
Method Name: