-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hi @mileyan,
Thanks for sharing the amazing work. I am curious about the _build_volume_2d3 function in line 118 of anynet.py.
Line 118 in 83badc7
| batch_disp = batch_disp - batch_shift.float() |
Why
batch_disp = batch_disp - batch_shift.float() and not batch_disp = batch_disp + batch_shift.float() ?Because the residual is from 2 to -2.
But in line 152,
Line 152 in 83badc7
| pred_low_res = disparityregression2(-self.maxdisplist[scale]+1, self.maxdisplist[scale], stride=1)(F.softmax(-cost, dim=1)) |
The disparity regression is from -2 to 2
Metadata
Metadata
Assignees
Labels
No labels