cedf2caddd84592416b1e487690f28e04c77e94f,tests/test_paired_image_dataset.py,,main,#Any#,8

Before Change



    opt["dataset_enlarge_ratio"] = 1

    mmcv.mkdir_or_exist("tmp")

    dataset = create_dataset(opt)
    data_loader = create_dataloader(
        dataset, opt, num_gpu=0, dist=opt["dist"], sampler=None)

After Change



    opt["dataset_enlarge_ratio"] = 1

    os.makedirs("tmp", exist_ok=True)

    dataset = create_dataset(opt)
    data_loader = create_dataloader(
        dataset, opt, num_gpu=0, dist=opt["dist"], sampler=None)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: tests/test_paired_image_dataset.py
Class Name:
Method Name: main


Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: tests/test_vimeo90k_dataset.py
Class Name:
Method Name: main


Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: tests/test_ffhq_dataset.py
Class Name:
Method Name: main


Project Name: xinntao/BasicSR
Commit Name: cedf2caddd84592416b1e487690f28e04c77e94f
Time: 2020-10-03
Author: wxt1994@126.com
File Name: tests/test_reds_dataset.py
Class Name:
Method Name: main