api_server.py: fix model path
This commit is contained in:
parent
ed71c16912
commit
d1ee2bc4f2
@ -33,7 +33,7 @@ class IrImage(BaseModel):
|
||||
|
||||
reference_pattern_path = '/home/nils/kinect_reference_cropped.png'
|
||||
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')
|
||||
|
||||
model = Model(max_disp=256, mixed_precision=False, test_mode=True)
|
||||
|
Loading…
Reference in New Issue
Block a user