Compare commits
No commits in common. "74bc06d58e5902887700a3874bba1a4463ac2b1f" and "0404f5b5b02e0b40705d0d0ba65972b42fc70fe2" have entirely different histories.
74bc06d58e
...
0404f5b5b0
@ -73,6 +73,7 @@ class StereoDataset(data.Dataset):
|
||||
img2 = np.array(img2).astype(np.uint8)
|
||||
|
||||
disp = np.array(disp).astype(np.float32)
|
||||
assert not (True in np.isnan(disp))
|
||||
|
||||
flow = np.stack([disp, np.zeros_like(disp)], axis=-1)
|
||||
|
||||
|
@ -169,7 +169,7 @@ def validate_sceneflow(model, iters=32, mixed_prec=False, max_disp=192):
|
||||
|
||||
|
||||
@torch.no_grad()
|
||||
def validate_middlebury(model, iters=32, split='H', mixed_prec=False, max_disp=192):
|
||||
def validate_middlebury(model, iters=32, split='F', mixed_prec=False, max_disp=192):
|
||||
""" Peform validation using the Middlebury-V3 dataset """
|
||||
model.eval()
|
||||
aug_params = {}
|
||||
|
Loading…
Reference in New Issue
Block a user