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
a9d65037
"...git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "686cf446991c50e1117b97ad4468adcdfea080f8"
Commit
a9d65037
authored
Sep 28, 2023
by
Geoffrey Yu
Browse files
remove debug statements
parent
61c7640c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
openfold/utils/loss.py
openfold/utils/loss.py
+0
-2
No files found.
openfold/utils/loss.py
View file @
a9d65037
...
@@ -2144,7 +2144,6 @@ class AlphaFoldMultimerLoss(AlphaFoldLoss):
...
@@ -2144,7 +2144,6 @@ class AlphaFoldMultimerLoss(AlphaFoldLoss):
best_align
=
None
best_align
=
None
# First select anchors from predicted structures and ground truths
# First select anchors from predicted structures and ground truths
anchor_gt_asym
,
anchor_pred_asym_ids
=
get_least_asym_entity_or_longest_length
(
ground_truth
,
feature
[
'asym_id'
])
anchor_gt_asym
,
anchor_pred_asym_ids
=
get_least_asym_entity_or_longest_length
(
ground_truth
,
feature
[
'asym_id'
])
print
(
f
"########## line 2147 anchor_pred_asym_ids is
{
anchor_pred_asym_ids
}
and gt_asym is
{
anchor_gt_asym
}
"
)
entity_2_asym_list
=
AlphaFoldMultimerLoss
.
get_entity_2_asym_list
(
ground_truth
)
entity_2_asym_list
=
AlphaFoldMultimerLoss
.
get_entity_2_asym_list
(
ground_truth
)
labels
=
AlphaFoldMultimerLoss
.
split_ground_truth_labels
(
ground_truth
,
labels
=
AlphaFoldMultimerLoss
.
split_ground_truth_labels
(
ground_truth
,
REQUIRED_FEATURES
=
[
"all_atom_mask"
,
"all_atom_positions"
])
REQUIRED_FEATURES
=
[
"all_atom_mask"
,
"all_atom_positions"
])
...
@@ -2190,7 +2189,6 @@ class AlphaFoldMultimerLoss(AlphaFoldLoss):
...
@@ -2190,7 +2189,6 @@ class AlphaFoldMultimerLoss(AlphaFoldLoss):
if
rmsd
<
best_rmsd
:
if
rmsd
<
best_rmsd
:
best_rmsd
=
rmsd
best_rmsd
=
rmsd
best_align
=
align
best_align
=
align
print
(
f
"##### 2193 rmsd is
{
rmsd
}
and anchor_gt_asym is
{
anchor_gt_asym
}
and candidate_pred_anchor is
{
candidate_pred_anchor
}
"
)
del
r
,
x
del
r
,
x
del
true_ca_masks
,
aligned_true_ca_poses
del
true_ca_masks
,
aligned_true_ca_poses
del
pred_ca_pos
,
pred_ca_mask
del
pred_ca_pos
,
pred_ca_mask
...
...
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