Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84ae723

Browse files
authored
Merge pull request JiaRenChang#14 from mileyan/patch-1
typo
2 parents a80dee7 + 00e73ba commit 84ae723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def train(imgL,imgR, disp_L):
9393
output3 = torch.squeeze(output3,1)
9494
loss = 0.5*F.smooth_l1_loss(output1[mask], disp_true[mask], size_average=True) + 0.7*F.smooth_l1_loss(output2[mask], disp_true[mask], size_average=True) + F.smooth_l1_loss(output3[mask], disp_true[mask], size_average=True)
9595
elif args.model == 'basic':
96-
output = model(imgL,imgR)
96+
output3 = model(imgL,imgR)
9797
output = torch.squeeze(output3,1)
9898
loss = F.smooth_l1_loss(output3[mask], disp_true[mask], size_average=True)
9999

0 commit comments

Comments
 (0)