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
OpenFold
Commits
12aa565e
Commit
12aa565e
authored
Oct 19, 2021
by
Gustaf Ahdritz
Browse files
Fix loss bug
parent
49767099
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/utils/loss.py
openfold/utils/loss.py
+1
-1
No files found.
openfold/utils/loss.py
View file @
12aa565e
...
@@ -165,7 +165,7 @@ def backbone_loss(
...
@@ -165,7 +165,7 @@ def backbone_loss(
)
)
# Take the mean over the layer dimension
# Take the mean over the layer dimension
fape_loss
=
torch
.
mean
(
fape_loss
,
dim
=-
1
)
fape_loss
=
torch
.
mean
(
fape_loss
)
return
fape_loss
return
fape_loss
...
...
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