Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0rc1 #387

Merged
merged 13 commits into from
Jan 11, 2022
Prev Previous commit
Next Next commit
Misc fixes
  • Loading branch information
mmcauliffe committed Jan 8, 2022
commit 751adf114d344df1a852dbef1dca895beb6afe9f
4 changes: 3 additions & 1 deletion montreal_forced_aligner/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,9 @@ def parse_args(cls, args: Optional[Namespace], unknown_args: Optional[List[str]]
val = unknown_args[i + 1]
unknown_dict[name] = val
for name, param_type in param_types.items():
if name.endswith("_directory") or name.endswith("_path"):
if (name.endswith("_directory") and name != "audio_directory") or name.endswith(
"_path"
):
continue
if args is not None and hasattr(args, name):
params[name] = param_type(getattr(args, name))
Expand Down
1 change: 1 addition & 0 deletions montreal_forced_aligner/acoustic_modeling/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ def align(self) -> None:
f"Analyzing alignment diagnostics for {self.current_aligner.identifier} on the full corpus"
)
self.compile_information()
self.collect_alignments()
with open(done_path, "w"):
pass
except Exception as e:
Expand Down
479 changes: 147 additions & 332 deletions montreal_forced_aligner/alignment/base.py

Large diffs are not rendered by default.

Loading