-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Add our weights for raft_small on C+T #5076
Conversation
💊 CI failures summary and remediationsAs of commit d8431fc (more details on the Dr. CI page):
1 failure not recognized by patterns:
This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @NicolasHug. I left one comment but stamping to unblock.
@@ -46,6 +48,8 @@ class Raft_Large_Weights(WeightsEnum): | |||
"recipe": "https://github.com/pytorch/vision/tree/main/references/optical_flow", | |||
"sintel_train_cleanpass_epe": 1.3822, | |||
"sintel_train_finalpass_epe": 2.7161, | |||
"kitti_train_per_image_epe": 4.5118, | |||
"kitti_train_f1-all": 16.0679, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity is this the standard F1 score?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, it's a kitti-specific metric, I saw it in different papers (and it's what they report in the leaderboards)
"f1": ((epe > 3) & (relative_epe > 0.05)).float().mean().item() * 100,
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Summary: Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com> Reviewed By: fmassa Differential Revision: D33184991 fbshipit-source-id: be9145a25eed78c1b6b0153e089997387ff93843
Towards #4644
This PR adds our own pre-trained weights for Raft-small. They are a bit better on the clean pass of sintel, about the same on the final pass, and a tiny bit better on kitti.
I also updated the META info of the raft-large models regarding kitti, which I forgot to do before.
with
--pretrained
with
--weights Raft_Small_Weights.C_T_V2
cc @datumbox