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
c785b534
You need to sign in or sign up before continuing.
Commit
c785b534
authored
Dec 08, 2022
by
zhuww
Browse files
check version and modify alphafold.py
parent
e5d72d41
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
fastfold/model/hub/alphafold.py
fastfold/model/hub/alphafold.py
+3
-1
inference.py
inference.py
+1
-1
setup.py
setup.py
+1
-2
version.py
version.py
+1
-1
No files found.
fastfold/model/hub/alphafold.py
View file @
c785b534
...
...
@@ -427,7 +427,9 @@ class AlphaFold(nn.Module):
z_prev
=
z
# [*, N, 3]
x_prev
=
outputs
[
"final_atom_positions"
]
x_prev
=
atom14_to_atom37
(
outputs_sm
[
"positions"
][
-
1
],
feats
)
if
no_iter
!=
3
:
return
None
,
m_1_prev
,
z_prev
,
x_prev
...
...
inference.py
View file @
c785b534
...
...
@@ -411,7 +411,7 @@ def inference_monomer_model(args):
batch
=
processed_feature_dict
manager
=
mp
.
Manager
()
result_q
=
manager
.
Queue
()
result_q
=
manager
.
Queue
()
torch
.
multiprocessing
.
spawn
(
inference_model
,
nprocs
=
args
.
gpus
,
args
=
(
args
.
gpus
,
result_q
,
batch
,
args
))
out
=
result_q
.
get
()
...
...
setup.py
View file @
c785b534
...
...
@@ -118,7 +118,7 @@ def get_version_add(sha: Optional[str] = None) -> str:
version
+=
"."
+
version_dtk
with
open
(
add_version_path
,
encoding
=
"utf-8"
,
mode
=
"w"
)
as
file
:
file
.
write
(
"__version__='0.2.
0
'+'+{}'
\n
"
.
format
(
version
))
file
.
write
(
"__version__='0.2.
1
'+'+{}'
\n
"
.
format
(
version
))
file
.
close
()
...
...
@@ -132,7 +132,6 @@ def get_version():
setup
(
name
=
'fastfold'
,
#version='0.2.0',
version
=
get_version
(),
packages
=
find_packages
(
exclude
=
(
'assets'
,
...
...
version.py
View file @
c785b534
__version__
=
"0.2.0"
\ No newline at end of file
__version__
=
"0.2.1"
\ No newline at end of file
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