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
fdf836f1
Commit
fdf836f1
authored
Nov 25, 2021
by
Gustaf Ahdritz
Browse files
Merge branch 'main' of
ssh://github.com/aqlaboratory/openfold
into main
parents
1d68bde1
a411888a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
openfold/data/feature_pipeline.py
openfold/data/feature_pipeline.py
+0
-2
run_pretrained_openfold.py
run_pretrained_openfold.py
+1
-1
No files found.
openfold/data/feature_pipeline.py
View file @
fdf836f1
...
@@ -100,10 +100,8 @@ class FeaturePipeline:
...
@@ -100,10 +100,8 @@ class FeaturePipeline:
def
__init__
(
def
__init__
(
self
,
self
,
config
:
ml_collections
.
ConfigDict
,
config
:
ml_collections
.
ConfigDict
,
params
:
Optional
[
Mapping
[
str
,
Mapping
[
str
,
np
.
ndarray
]]]
=
None
,
):
):
self
.
config
=
config
self
.
config
=
config
self
.
params
=
params
def
process_features
(
def
process_features
(
self
,
self
,
...
...
run_pretrained_openfold.py
View file @
fdf836f1
...
@@ -48,7 +48,7 @@ def main(args):
...
@@ -48,7 +48,7 @@ def main(args):
config
=
model_config
(
args
.
model_name
)
config
=
model_config
(
args
.
model_name
)
model
=
AlphaFold
(
config
)
model
=
AlphaFold
(
config
)
model
=
model
.
eval
()
model
=
model
.
eval
()
import_jax_weights_
(
model
,
args
.
param_path
)
import_jax_weights_
(
model
,
args
.
param_path
,
version
=
args
.
model_name
)
#script_preset_(model)
#script_preset_(model)
model
=
model
.
to
(
args
.
model_device
)
model
=
model
.
to
(
args
.
model_device
)
...
...
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