2eccd7ded601d1bc777651fe9b5494ac3ccc7be9,datasets/mpisintel.py,,make_dataset,#,17

Before Change


            continue
        images.append([[img1,img2],flow_map])

    assert(len(images) > 0)
    if shuffle:
        random.shuffle(images)
    split_index = math.floor(len(images)*split/100)
    assert(split_index >= 0 and split_index <= len(images))

After Change


            continue
        images.append([[img1,img2],flow_map])

    return split2list(images, split, default_split=0.87)

def mpi_sintel_clean(root, transform=None, target_transform=None,
                 co_transform=None, split = 80):
    train_list, test_list = make_dataset(root,"clean",split)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ClementPinard/FlowNetPytorch
Commit Name: 2eccd7ded601d1bc777651fe9b5494ac3ccc7be9
Time: 2017-11-16
Author: simon.fauchard@parrot.com
File Name: datasets/mpisintel.py
Class Name:
Method Name: make_dataset


Project Name: ClementPinard/FlowNetPytorch
Commit Name: 2eccd7ded601d1bc777651fe9b5494ac3ccc7be9
Time: 2017-11-16
Author: simon.fauchard@parrot.com
File Name: datasets/flyingchairs.py
Class Name:
Method Name: make_dataset


Project Name: ClementPinard/FlowNetPytorch
Commit Name: 2eccd7ded601d1bc777651fe9b5494ac3ccc7be9
Time: 2017-11-16
Author: simon.fauchard@parrot.com
File Name: datasets/KITTI.py
Class Name:
Method Name: make_dataset