Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
954a117d
Unverified
Commit
954a117d
authored
Dec 09, 2021
by
Nicolas Hug
Committed by
GitHub
Dec 09, 2021
Browse files
Pre-trained weights for raft-large, fine-tuned on sintel (#5079)
parent
22a23e8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
11 deletions
+25
-11
torchvision/prototype/models/optical_flow/raft.py
torchvision/prototype/models/optical_flow/raft.py
+25
-11
No files found.
torchvision/prototype/models/optical_flow/raft.py
View file @
954a117d
...
...
@@ -53,17 +53,31 @@ class Raft_Large_Weights(WeightsEnum):
},
)
# C_T_SKHT_V1 = Weights(
# # Chairs + Things + Sintel fine-tuning, i.e.:
# # Chairs + Things + (Sintel + Kitti + HD1K + Things_clean)
# # Corresponds to the C+T+S+K+H on paper with fine-tuning on Sintel
# url="",
# transforms=RaftEval,
# meta={
# "recipe": "",
# "epe": -1234,
# },
# )
C_T_SKHT_V1
=
Weights
(
# Chairs + Things + Sintel fine-tuning, ported from original paper repo (raft-sintel.pth)
url
=
"https://download.pytorch.org/models/raft_large_C_T_SKHT_V1-0b8c9e55.pth"
,
transforms
=
RaftEval
,
meta
=
{
**
_COMMON_META
,
"recipe"
:
"https://github.com/princeton-vl/RAFT"
,
"sintel_test_cleanpass_epe"
:
1.94
,
"sintel_test_finalpass_epe"
:
3.18
,
},
)
C_T_SKHT_V2
=
Weights
(
# Chairs + Things + Sintel fine-tuning, i.e.:
# Chairs + Things + (Sintel + Kitti + HD1K + Things_clean)
# Corresponds to the C+T+S+K+H on paper with fine-tuning on Sintel
url
=
"https://download.pytorch.org/models/raft_large_C_T_SKHT_V2-ff5fadd5.pth"
,
transforms
=
RaftEval
,
meta
=
{
**
_COMMON_META
,
"recipe"
:
"https://github.com/pytorch/vision/tree/main/references/optical_flow"
,
"sintel_test_cleanpass_epe"
:
1.819
,
"sintel_test_finalpass_epe"
:
3.067
,
},
)
# C_T_SKHT_K_V1 = Weights(
# # Chairs + Things + Sintel fine-tuning + Kitti fine-tuning i.e.:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment