6c3a117b9b39fd7f993c85091f7a1a0d96d10d08,datasets/KITTI.py,,KITTI_loader,#,43

Before Change


def KITTI_loader(root,path_imgs, path_flo):
    imgs = [os.path.join(root,path) for path in path_imgs]
    flo = os.path.join(root,path_flo)
    return [imread(img) for img in imgs],load_flow_from_png(flo)


def KITTI_occ(root, transform=None, target_transform=None,

After Change


def KITTI_loader(root,path_imgs, path_flo):
    imgs = [os.path.join(root,path) for path in path_imgs]
    flo = os.path.join(root,path_flo)
    return [cv2.imread(img)[:,:,::-1].astype(np.float32) for img in imgs],load_flow_from_png(flo)


def KITTI_occ(root, transform=None, target_transform=None,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ClementPinard/FlowNetPytorch
Commit Name: 6c3a117b9b39fd7f993c85091f7a1a0d96d10d08
Time: 2018-01-29
Author: clement.pinard@parrot.com
File Name: datasets/KITTI.py
Class Name:
Method Name: KITTI_loader


Project Name: ClementPinard/FlowNetPytorch
Commit Name: 6c3a117b9b39fd7f993c85091f7a1a0d96d10d08
Time: 2018-01-29
Author: clement.pinard@parrot.com
File Name: datasets/KITTI.py
Class Name:
Method Name: load_flow_from_png


Project Name: xinntao/BasicSR
Commit Name: 6917d8a3dbf6617f02b1247fd50fbc20d3cb6fd4
Time: 2018-06-10
Author: wxt1994@126.com
File Name: codes/data/LR_dataset.py
Class Name: LRDataset
Method Name: __getitem__