TRI-ML / packnet-sfm

TRI-ML Monocular Depth Estimation Repository
https://tri-ml.github.io/packnet-sfm/
MIT License
1.23k stars 242 forks source link

bug in BerHuLoss #182

Open zxiaomzxm opened 2 years ago

zxiaomzxm commented 2 years ago

https://github.com/TRI-ML/packnet-sfm/blob/6e3161f60e7161115813574557761edaffb1b6d1/packnet_sfm/losses/supervised_loss.py#L50-L53

diff and diff2 seem have different shapes,thus can not be concatenated.