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
e8de822e
Commit
e8de822e
authored
Oct 05, 2023
by
Sachin Kadyan
Browse files
Improved UX: Automatically set the single seq mode flag
parent
c8c12397
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
run_pretrained_openfold.py
run_pretrained_openfold.py
+2
-0
No files found.
run_pretrained_openfold.py
View file @
e8de822e
...
@@ -152,6 +152,8 @@ def main(args):
...
@@ -152,6 +152,8 @@ def main(args):
# Create the output directory
# Create the output directory
os
.
makedirs
(
args
.
output_dir
,
exist_ok
=
True
)
os
.
makedirs
(
args
.
output_dir
,
exist_ok
=
True
)
if
args
.
config_preset
.
startswith
(
"seq"
):
args
.
use_single_seq_mode
=
True
config
=
model_config
(
args
.
config_preset
,
long_sequence_inference
=
args
.
long_sequence_inference
)
config
=
model_config
(
args
.
config_preset
,
long_sequence_inference
=
args
.
long_sequence_inference
)
if
(
args
.
trace_model
):
if
(
args
.
trace_model
):
...
...
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