Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about EPE #140

Open
Redreadblack opened this issue Sep 30, 2024 · 2 comments
Open

about EPE #140

Redreadblack opened this issue Sep 30, 2024 · 2 comments

Comments

@Redreadblack
Copy link

hi, nice job! just with some confuse.
when I reproduce your work, I use the same datalist and cfgfile provided by your project: sceneflow_finalpass_train.txt & /sceneflow_finalpass_test.txt & cfgs/lightstereo/lightstereo_s_sceneflow.yaml.
But I got the result is follow: d1_all(4.5721) epe(1.3562) thres_1(17.5696) thres_2(12.2411) thres_3(5.4063)
In your result table, the result is:[LightStereo-S] 0.73 256x512
So I want to know where is problem.
I see the evalution size is 544*960 if cfgfile, differ from the 256x512 in your result table.
Is this maybe the reason?

And I see the train image size is 540*962, why the evalute size is 544*960

@chuanqi1997
Copy link

nice question!

@shenshanf
Copy link

在计算视差估计误差(EPE)时,需要特别注意图像缩放带来的影响。由于视差图在进行尺寸调整时,其视差值会同步缩放,这会直接影响到误差计算的准确性。
举个例子:假设原始视差图中某点的视差值为 d,当我们将视差图缩小到原来的 1/2 时,这个点的视差值会相应变为 d/2。如果直接在缩放后的尺寸上计算 EPE,得到的误差值也会是原始误差的 1/2,这显然不是我们想要的结果。为了得到真实的误差值,我们需要将计算结果放大两倍,以反映原始尺寸上的实际误差。
因此,为了保证误差计算的准确性,我们应该始终将 EPE 的计算统一到原始尺寸上进行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants