6c3a117b9b39fd7f993c85091f7a1a0d96d10d08,datasets/KITTI.py,,load_flow_from_png,#,16
Before Change
def load_flow_from_png(png_path):
return(imread(png_path)[:,:,0:2].astype(float) - 128)
def make_dataset(dir, split, occ=True):
After Change
def load_flow_from_png(png_path):
flo_file = cv2.imread(png_path,cv2.IMREAD_UNCHANGED)
flo_img = flo_file[:,:,1::-1].astype(np.float32)
invalid = (flo_file[:,:,2] == 0)
flo_img = flo_img - 32768
flo_img = flo_img / 64
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: load_flow_from_png
Project Name: idealo/image-super-resolution
Commit Name: 677467e2ae6a25911428540620b5e992cd64f482
Time: 2018-12-20
Author: testadicardi@gmail.com
File Name: src/predict/predict.py
Class Name: Predictor
Method Name: forward_pass
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