uber-research / DeepPruner

DeepPruner: Learning Efficient Stereo Matching via Differentiable PatchMatch (ICCV 2019)
Other
354 stars 41 forks source link

Default maximum disparity #27

Closed Diksha-Moolchandani closed 3 years ago

Diksha-Moolchandani commented 3 years ago

What is the default maximum disparity range used in this model?

I cannot find any such parameter in the code. When I ran PSMNet, there was a parameter max_disp to set the maximum disparity value. I am looking for one such parameter in deeppruner.

ShivamDuggal4 commented 3 years ago

Hi @Diksha-Moolchandani the default max-disparity is set in models/config.py file: https://github.com/uber-research/DeepPruner/blob/40b188cf954577e21d5068db2be2bedc6b0e8781/deeppruner/models/config.py#L29

And its used in models/deeppruner.py file: https://github.com/uber-research/DeepPruner/blob/40b188cf954577e21d5068db2be2bedc6b0e8781/deeppruner/models/deeppruner.py#L31

Diksha-Moolchandani commented 3 years ago

thanks a lot