Recall function is wrong
RaphaelRoyerRivard opened this issue · 1 comments
RaphaelRoyerRivard commented
The in the following lines of the get_recall
method,
gt = np.int16(gt / np.amax(gt) * float(args.disp))
disparity = np.int16(np.float32(disparity) / np.amax(disparity) * float(args.disp))
the np.amax(...)
functions should be replaced with 255.0.
Using the maximum disparity found makes no sense because it influences the value of all the other disparities.
beaupreda commented
Yes, you are correct, it is now fixed. Thank you!