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
0caffd57
Commit
0caffd57
authored
Aug 03, 2023
by
Geoffrey Yu
Browse files
fixed the error where the iterface backbone loss falsely used intra_chain backbone weights
parent
bc35ef17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openfold/utils/loss.py
openfold/utils/loss.py
+2
-2
No files found.
openfold/utils/loss.py
View file @
0caffd57
...
...
@@ -310,10 +310,10 @@ def fape_loss(
interface_bb_loss
=
backbone_loss
(
traj
=
traj
,
pair_mask
=
1.
-
intra_chain_mask
,
**
{
**
batch
,
**
config
.
int
ra_chain_backbon
e
},
**
{
**
batch
,
**
config
.
int
erfac
e
},
)
weighted_bb_loss
=
(
intra_chain_bb_loss
*
config
.
intra_chain_backbone
.
weight
+
interface_bb_loss
*
config
.
int
ra_chain_backbon
e
.
weight
)
+
interface_bb_loss
*
config
.
int
erfac
e
.
weight
)
else
:
bb_loss
=
backbone_loss
(
traj
=
traj
,
...
...
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