Skip to content

Commit

Permalink
Merge pull request #272 from kylebgorman/predict
Browse files Browse the repository at this point in the history
Expands list of separate features models
  • Loading branch information
kylebgorman authored Dec 1, 2024
2 parents 44af54f + 8c6a029 commit d32a240
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions yoyodyne/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@ def get_datamodule_from_argparse_args(
data.DataModule.
"""
separate_features = args.features_col != 0 and args.arch in [
"pointer_generator_rnn",
"hard_attention_gru",
"hard_attention_lstm",
"pointer_generator_gru",
"pointer_generator_lstm",
"pointer_generator_transformer",
"transducer",
"transducer_grm",
"transducer_lstm",
]
index = data.Index.read(args.model_dir)
return data.DataModule(
Expand Down

0 comments on commit d32a240

Please sign in to comment.