Commit 4b0cf781 authored by Andrey Filippov's avatar Andrey Filippov

more on presentation

parent 6c88d9e2
This diff is collapsed.
...@@ -751,7 +751,7 @@ def result_npy_prepare(npy_path, absolute, fix_nan, insert_deltas=True,labels=No ...@@ -751,7 +751,7 @@ def result_npy_prepare(npy_path, absolute, fix_nan, insert_deltas=True,labels=No
weight9 *= w8 weight9 *= w8
w_center = np.sum(weight9, axis=2) w_center = np.sum(weight9, axis=2)
dw_center = np.sum(data9*weight9, axis=2) dw_center = np.sum(data9*weight9, axis=2)
dw_center /= w_center # now dw_center - weighted average in the center dw_center /= w_center # now dw_center - weighted average in the center invalid /
data[...,-3] = np.abs(data[...,GT_DISP]- dw_center) data[...,-3] = np.abs(data[...,GT_DISP]- dw_center)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment