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
341ff3d9
Unverified
Commit
341ff3d9
authored
Nov 25, 2021
by
Gustaf Ahdritz
Committed by
GitHub
Nov 25, 2021
Browse files
Fix bug in inference script weight importing
parent
6448d57c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
run_pretrained_openfold.py
run_pretrained_openfold.py
+1
-1
No files found.
run_pretrained_openfold.py
View file @
341ff3d9
...
@@ -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