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
9d322cac
Unverified
Commit
9d322cac
authored
Oct 21, 2022
by
Joao Gomes
Committed by
GitHub
Oct 21, 2022
Browse files
[FBcode->GH] fix typo in CRES stereo (#6813)
[FBcode->GH]
parent
121a780c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/prototype/models/depth/stereo/crestereo.py
torchvision/prototype/models/depth/stereo/crestereo.py
+1
-1
No files found.
torchvision/prototype/models/depth/stereo/crestereo.py
View file @
9d322cac
...
...
@@ -542,7 +542,7 @@ class LocalFeatureEncoderLayer(nn.Module):
# attention operation
message
=
self
.
attention_op
(
queries
,
keys
,
values
,
x_mask
,
source_mask
)
# concatenating attention heads together before passing through
t
projection layer
# concatenating attention heads together before passing through projection layer
message
=
self
.
merge
(
message
.
reshape
(
B
,
S
,
D
))
message
=
self
.
attention_norm
(
message
)
...
...
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