DAVANet icon indicating copy to clipboard operation
DAVANet copied to clipboard

Thank your work, there are some questions about datasets.

Open AlexZou14 opened this issue 3 years ago • 2 comments

We use your code to read the EXR file in the dataset and find that many of them have NAN values. Could you tell me how to right read EXR file or deal with these NAN values?

AlexZou14 avatar May 11 '21 07:05 AlexZou14

i have the same question

hanshan1 avatar Aug 11 '21 07:08 hanshan1

Hi, The disparity maps contain some NAN values in the occlusion regions due to ZED cameras. Thus, it's correct when you read some NAN values in EXR files. In this paper, we remove the NAN and Inf in the Dataloader by setting these values to zeros: https://github.com/sczhou/DAVANet/blob/master/utils/data_loaders.py#L142 So that EPE loss will not be calculated in these regions.

sczhou avatar Sep 14 '21 18:09 sczhou