Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion montreal_forced_aligner/alignment/multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ def _run(self):
acoustic_model=self.acoustic_model,
lexicon_compiler=self.lexicon_compilers[d.id],
)
ali_path = job.construct_path(workflow.working_directory, "ali", ".ark", d.name)
ali_path = job.construct_path(workflow.working_directory, "ali", "ark", d.name)
alignment_archive = AlignmentArchive(ali_path)
utterance_query = (
session.query(Utterance, SoundFile.sound_file_path)
Expand Down
2 changes: 1 addition & 1 deletion montreal_forced_aligner/alignment/pretrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
kw.update(kwargs)
super().__init__(**kw)
self.fine_tune = fine_tune
self.fine_tune = fine_tune_boundary_tolerance
self.fine_tune_boundary_tolerance = fine_tune_boundary_tolerance
self.final_alignment = True
self.kalpy_aligner = None

Expand Down
2 changes: 2 additions & 0 deletions tests/test_commandline_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ def test_align_fine_tune(
print(result.exc_info)
raise result.exception
assert not result.return_value
# Regression test for --fine_tune flag
assert "Fine tuning alignments..." in result.stderr


def test_align_evaluation(
Expand Down
Loading