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
683baf8e
Unverified
Commit
683baf8e
authored
May 03, 2023
by
Adam J. Stewart
Committed by
GitHub
May 03, 2023
Browse files
Check sha256 of weights (#7219)
Co-authored-by:
Nicolas Hug
<
nh.nicolas.hug@gmail.com
>
parent
8811c915
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/prototype/models/depth/stereo/raft_stereo.py
torchvision/prototype/models/depth/stereo/raft_stereo.py
+1
-1
No files found.
torchvision/prototype/models/depth/stereo/raft_stereo.py
View file @
683baf8e
...
@@ -620,7 +620,7 @@ def _raft_stereo(
...
@@ -620,7 +620,7 @@ def _raft_stereo(
)
)
if
weights
is
not
None
:
if
weights
is
not
None
:
model
.
load_state_dict
(
weights
.
get_state_dict
(
progress
=
progress
))
model
.
load_state_dict
(
weights
.
get_state_dict
(
progress
=
progress
,
check_hash
=
True
))
return
model
return
model
...
...
Prev
1
2
3
Next
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