MontrealCorpusTools / Montreal-Forced-Aligner

Command line utility for forced alignment using Kaldi
https://montrealcorpustools.github.io/Montreal-Forced-Aligner/
MIT License
1.26k stars 242 forks source link

[BUG] #415

Open zpavlov opened 2 years ago

zpavlov commented 2 years ago

Debugging checklist

[x] Have you updated to latest MFA version? [x] Have you tried rerunning the command with the --clean flag?

Describe the issue running: mfa align --clean ~/input english english ~/output works, but it seems to always export to ~/Documents/MFA/input_pretrained_aligner/pretrained_aligner/textgrids instead of ~/output

For Reproducing your issue Please fill out the following:

  1. Corpus structure
    • What language is the corpus in? english
    • How many files/speakers? 1
    • Are you using lab files or TextGrid files for input? tried with both
  2. Dictionary
    • Are you using a dictionary from MFA? If so, which one? english
    • If it's a custom dictionary, what is the phoneset? also tried librispeech lexicon
  3. Acoustic model
    • If you're using an acoustic model, is it one download through MFA? If so, which one? english
    • If it's a model you've trained, what data was it trained on?

Log file Please attach the log file for the run that encountered an error (by default these will be stored in ~/Documents/MFA).

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

zpavlov commented 2 years ago

mfa align --clean ~/input english english ~/output INFO - Setting up corpus information... INFO - Loading corpus from source files... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.00s/it] INFO - Number of speakers in corpus: 1, average number of utterances per speaker: 1.0 INFO - Setting up training data... INFO - Generating base features (mfcc)... INFO - Generating MFCCs... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.04s/it] INFO - Calculating CMVN... INFO - Compiling training graphs... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.04s/it] INFO - Performing first-pass alignment... INFO - Generating alignments... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.15s/it] INFO - Collecting word alignments from alignment lattices... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.05s/it] INFO - Collecting phone alignments from alignment lattices... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.13s/it] INFO - Exporting TextGrids to /home/zac/Documents/MFA/input_pretrained_aligner/pretrained_aligner/textgrids... 100%|█████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.03s/it] INFO - Finished exporting TextGrids to /home/zac/Documents/MFA/input_pretrained_aligner/pretrained_aligner/textgrids! INFO - Done! Everything took 11.2931489944458 seconds

zpavlov commented 2 years ago

this same operation on OSX seems to export to the correct directory