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
376c60c7
"tools/git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "dd2edf9da0944238d3711f8145cc5b86c65f5a79"
Commit
376c60c7
authored
Oct 10, 2021
by
Gustaf Ahdritz
Browse files
Rename run script parameter
parent
a3c2ae51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
run_pretrained_alphafold.py
run_pretrained_alphafold.py
+2
-4
No files found.
run_pretrained_alphafold.py
View file @
376c60c7
...
@@ -42,8 +42,6 @@ from openfold.utils.tensor_utils import (
...
@@ -42,8 +42,6 @@ from openfold.utils.tensor_utils import (
tensor_tree_map
,
tensor_tree_map
,
)
)
FEAT_PATH
=
"tests/test_data/sample_feats.pickle"
MAX_TEMPLATE_HITS
=
20
MAX_TEMPLATE_HITS
=
20
def
main
(
args
):
def
main
(
args
):
...
@@ -81,7 +79,7 @@ def main(args):
...
@@ -81,7 +79,7 @@ def main(args):
)
)
output_dir_base
=
args
.
output_dir
output_dir_base
=
args
.
output_dir
random_seed
=
args
.
random_seed
random_seed
=
args
.
data_
random_seed
if
random_seed
is
None
:
if
random_seed
is
None
:
random_seed
=
random
.
randrange
(
sys
.
maxsize
)
random_seed
=
random
.
randrange
(
sys
.
maxsize
)
config
.
data
.
eval
.
num_ensemble
=
num_ensemble
config
.
data
.
eval
.
num_ensemble
=
num_ensemble
...
@@ -237,7 +235,7 @@ if __name__ == "__main__":
...
@@ -237,7 +235,7 @@ if __name__ == "__main__":
choices
=
(
'reduced_dbs'
,
'full_dbs'
)
choices
=
(
'reduced_dbs'
,
'full_dbs'
)
)
)
parser
.
add_argument
(
parser
.
add_argument
(
'--random_seed'
,
type
=
str
,
default
=
None
'--
data_
random_seed'
,
type
=
str
,
default
=
None
)
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
...
...
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