haofeixu / aanet

[CVPR'20] AANet: Adaptive Aggregation Network for Efficient Stereo Matching
Apache License 2.0
528 stars 102 forks source link

match_similarity参数 #8

Closed nicksunyang closed 4 years ago

nicksunyang commented 4 years ago
    # Matching similarity or matching cost
    cost_volume = cost_volume if self.match_similarity else -cost_volume

这个操作没有理解,可以解释一下吗?为什么要加负号?,PSMNet, GANet都不用加,Stereonet源代码也没有加负号

haofeixu commented 4 years ago

You can refer to the discussion here: https://github.com/JiaRenChang/PSMNet/issues/114