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

Average EPE score with PyTorch implementation #135

Open
zohrehazizi opened this issue Jun 19, 2023 · 0 comments
Open

Average EPE score with PyTorch implementation #135

zohrehazizi opened this issue Jun 19, 2023 · 0 comments

Comments

@zohrehazizi
Copy link

zohrehazizi commented Jun 19, 2023

Hi. I loaded the pwc_net.pth.tar with the pytorch model and ran the inference on all the MPI Single dataset. I used the following way to calculate the average EPE loss:

for each image:
epe = torch.norm(flow_gt-flo, p=2, dim=0).mean()
epe_list.append(epe)

(after the loop:)
epe_list.mean()

where dim=0 is the axis corresponding to flow channels and has size 2.
And I get a score of 3.20 on Clean and 3.61 on Final . This is different from the numbers you reported for MPI Sintel. Could you please help me realize what I might be doing wrong? Thank you.

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

1 participant