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
FastFold
Commits
c3436dd1
Unverified
Commit
c3436dd1
authored
Dec 26, 2022
by
oahzxl
Committed by
GitHub
Dec 26, 2022
Browse files
fix indentation (#127)
parent
7d10334b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fastfold/model/hub/alphafold.py
fastfold/model/hub/alphafold.py
+2
-2
No files found.
fastfold/model/hub/alphafold.py
View file @
c3436dd1
...
@@ -318,7 +318,7 @@ class AlphaFold(nn.Module):
...
@@ -318,7 +318,7 @@ class AlphaFold(nn.Module):
[
feats
[
"msa_mask"
],
template_embeds
[
"template_mask"
]],
[
feats
[
"msa_mask"
],
template_embeds
[
"template_mask"
]],
dim
=-
2
,
dim
=-
2
,
)
)
del
template_feats
,
template_embeds
del
template_feats
,
template_embeds
# Embed extra MSA features + merge with pairwise embeddings
# Embed extra MSA features + merge with pairwise embeddings
if
self
.
config
.
extra_msa
.
enabled
:
if
self
.
config
.
extra_msa
.
enabled
:
...
@@ -352,7 +352,7 @@ class AlphaFold(nn.Module):
...
@@ -352,7 +352,7 @@ class AlphaFold(nn.Module):
pair_mask
=
pair_mask
.
to
(
dtype
=
z
[
0
].
dtype
),
pair_mask
=
pair_mask
.
to
(
dtype
=
z
[
0
].
dtype
),
_mask_trans
=
self
.
config
.
_mask_trans
,
_mask_trans
=
self
.
config
.
_mask_trans
,
)[
0
]
)[
0
]
del
extra_msa_feat
,
extra_msa_fn
del
extra_msa_feat
,
extra_msa_fn
# Run MSA + pair embeddings through the trunk of the network
# Run MSA + pair embeddings through the trunk of the network
# m: [*, S, N, C_m]
# m: [*, S, N, C_m]
...
...
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