Initial Commit

This commit is contained in:
Gangwei Xu 2023-03-12 20:22:40 +08:00 committed by GitHub
parent 21243dfb11
commit d1a395cc78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,6 +302,7 @@ class SparseFlowAugmentor:
img2 = img2[y0:y0+self.crop_size[0], x0:x0+self.crop_size[1]]
flow = flow[y0:y0+self.crop_size[0], x0:x0+self.crop_size[1]]
valid = valid[y0:y0+self.crop_size[0], x0:x0+self.crop_size[1]]
return img1, img2, flow, valid