|
|
@ -33,7 +33,7 @@ class IrImage(BaseModel): |
|
|
|
|
|
|
|
|
|
|
|
reference_pattern_path = '/home/nils/kinect_reference_cropped.png' |
|
|
|
reference_pattern_path = '/home/nils/kinect_reference_cropped.png' |
|
|
|
reference_pattern = cv2.imread(reference_pattern_path) |
|
|
|
reference_pattern = cv2.imread(reference_pattern_path) |
|
|
|
model_path = "../train_log/models/latest.pth" |
|
|
|
model_path = "train_log/models/latest.pth" |
|
|
|
device = torch.device('cuda:0') |
|
|
|
device = torch.device('cuda:0') |
|
|
|
|
|
|
|
|
|
|
|
model = Model(max_disp=256, mixed_precision=False, test_mode=True) |
|
|
|
model = Model(max_disp=256, mixed_precision=False, test_mode=True) |
|
|
|