Skip to content

Commit d786cf8

Browse files
committed
Oops, wrong default
1 parent d1feb73 commit d786cf8

File tree

1 file changed

+2
-2
lines changed
  • torchvision/prototype/models/optical_flow

1 file changed

+2
-2
lines changed

torchvision/prototype/models/optical_flow/raft.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Raft_Large_Weights(WeightsEnum):
115115
},
116116
)
117117

118-
DEFAULT = C_T_SKHT_K_V2
118+
DEFAULT = C_T_SKHT_V2
119119

120120

121121
class Raft_Small_Weights(WeightsEnum):
@@ -151,7 +151,7 @@ class Raft_Small_Weights(WeightsEnum):
151151
DEFAULT = C_T_V2
152152

153153

154-
@handle_legacy_interface(weights=("pretrained", Raft_Large_Weights.C_T_SKHT_K_V2))
154+
@handle_legacy_interface(weights=("pretrained", Raft_Large_Weights.C_T_SKHT_V2))
155155
def raft_large(*, weights: Optional[Raft_Large_Weights] = None, progress=True, **kwargs):
156156
"""RAFT model from
157157
`RAFT: Recurrent All Pairs Field Transforms for Optical Flow <https://arxiv.org/abs/2003.12039>`_.

0 commit comments

Comments
 (0)