Hi @mileyan,
Thanks for sharing the amazing work. I am curious about the _build_volume_2d3 function in line 118 of anynet.py.
|
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,
|
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
Hi @mileyan,
Thanks for sharing the amazing work. I am curious about the
_build_volume_2d3function in line 118 of anynet.py.AnyNet/models/anynet.py
Line 118 in 83badc7
Why
batch_disp = batch_disp - batch_shift.float()and notbatch_disp = batch_disp + batch_shift.float()?Because the residual is from 2 to -2.
But in line 152,
AnyNet/models/anynet.py
Line 152 in 83badc7
The disparity regression is from -2 to 2