Skip to content

Commit

Permalink
Improved UX: Automatically set the single seq mode flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinkadyan7 committed Oct 10, 2023
1 parent c8c1239 commit e8de822
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run_pretrained_openfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ def main(args):
# Create the output directory
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)

if(args.trace_model):
Expand Down

0 comments on commit e8de822

Please sign in to comment.