MontrealCorpusTools / Montreal-Forced-Aligner

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

[BUG] Couldn't find alignment_analysis.csv in output folder or temp folder after mfa align #696

Open jasonppy opened 11 months ago

jasonppy commented 11 months ago

Debugging checklist

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

Describe the issue Couldn't find alignment_analysis.csv in output folder or temp folder after mfa align

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?
  2. Dictionary
    • Are you using a dictionary from MFA? If so, which one? english_us_arpa
    • If it's a custom dictionary, what is the phoneset?
  3. Acoustic model
    • If you're using an acoustic model, is it one download through MFA? If so, which one? english_us_arpa
    • 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).

The run finishes successfully, and the generated alignment files looks correct

Desktop (please complete the following information):

Additional context Based on https://montreal-forced-aligner.readthedocs.io/en/latest/user_guide/workflows/alignment.html#pretrained-alignment and https://github.com/MontrealCorpusTools/Montreal-Forced-Aligner/issues/569, if -t temp is specified, we should be able to find alignment_analysis.csv in output folder or temp folder. But I couldn't find them.

that's in the temp folder: image

Thank you very much for your help!

mmcauliffe commented 10 months ago

Alignment analysis is currently only done if --use_postgres flag is set, since sqlite by default is missing some summary statistic functions that the analysis function uses. I'll try to add python-based support for it, but you should be able to generate it with the --use_postgres flag set.