66fde956552c98afd0ece54dc6a756b52e7136c5,datasets.py,MpiSintel,__getitem__,#MpiSintel#Any#,75
Before Change
if self.is_cropped:
cropper = StaticRandomCrop(self.crop_size)
images = map(cropper, images)
flow = cropper(flow)
else:
cropper = StaticCenterCrop(self.render_size)
images = map(cropper, images)
flow = cropper(flow)
After Change
flow = frame_utils.read_gen(self.flow_list[index])
images = [img1, img2]
image_size = img1.shape[:2]
if self.is_cropped:
cropper = StaticRandomCrop(image_size, self.crop_size)
else:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: NVIDIA/flownet2-pytorch
Commit Name: 66fde956552c98afd0ece54dc6a756b52e7136c5
Time: 2018-01-08
Author: root@kshih-workstation.localdomain
File Name: datasets.py
Class Name: MpiSintel
Method Name: __getitem__
Project Name: NVIDIA/flownet2-pytorch
Commit Name: 66fde956552c98afd0ece54dc6a756b52e7136c5
Time: 2018-01-08
Author: root@kshih-workstation.localdomain
File Name: datasets.py
Class Name: FlyingChairs
Method Name: __getitem__
Project Name: NVIDIA/flownet2-pytorch
Commit Name: 66fde956552c98afd0ece54dc6a756b52e7136c5
Time: 2018-01-08
Author: root@kshih-workstation.localdomain
File Name: datasets.py
Class Name: FlyingThings
Method Name: __getitem__
Project Name: NVIDIA/flownet2-pytorch
Commit Name: 66fde956552c98afd0ece54dc6a756b52e7136c5
Time: 2018-01-08
Author: root@kshih-workstation.localdomain
File Name: datasets.py
Class Name: ChairsSDHom
Method Name: __getitem__