-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Very interesting work!
I have a question about evaluate_FlowFormer.py, which reports AEPE 0.63/1.51 on Sintel clean/final for the provided things.pth checkpoint.
flow_pre = model(image1, image2)
flow_pre = padder.unpad(flow_pre[0]).cpu()
epe = torch.sum((flow_pre - flow_gt)**2, dim=0).sqrt()
For my run on Sintel images, flow_pre is of size [1, 2, 436, 1024] and flow_gt [2, 436, 1024]. (flow_pre - flow_gt)**2 is of size [1, 2, 436, 1024] and sum over dim 0 results in size [2, 436, 1024] for epe. Thus, "epe" doesn't sum over the horizontal and vertical flow errors.
flow_pre = torch.squeeze(padder.unpad(flow_pre[0]).cpu())
would results in size [436,1024] for epe and reports AEPE 1.01/2.40.
Could you please help check it?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels