```
(base) Theas-MBP:aligner theaknowles$ mfa align /Users/theaknowles/Documents/test/Librispeech /Users/theaknowles/Documents/test/librispeech-lexicon.txt english ~/Documents/aligned_librispeech
All required kaldi binaries were found!
Setting up corpus information...
Number of speakers in corpus: 3, average number of utterances per speaker: 122.33333333333333
Parsing dictionary without pronunciation probabilties without silence probabilties
Creating dictionary information...
Setting up corpus_data directory...
Generating base features (mfcc)...
Calculating CMVN...
Done with setup.
Done! Everything took 158.46843099594116 seconds
```
For version 1.1 there was usually a progress bar that would get printed after "Done with setup." which doesn't appear in the above output.
Any thoughts? Many thanks!
An update: This was in fact due to my negligence and skipping a final step of installing Kaldi (d'oh). I believe I also needed to activate the Conda/virtual environment. XTools & brew have also been updated at this point.
However, having corrected that I am now running into a new error:
Full command + output:
(aligner) Theas-MBP:aligner theaknowles$ mfa align -d /Users/theaknowles/Documents/test/in /Users/theaknowles/Documents/test/librispeech-lexicon.txt /Users/theaknowles/Documents/test/english.zip /Users/theaknowles/Documents/test/out_new
All required kaldi binaries were found!
Setting up corpus information...
Number of speakers in corpus: 1, average number of utterances per speaker: 1.0
Parsing dictionary without pronunciation probabilties without silence probabilties
Creating dictionary information...
Setting up corpus_data directory...
Generating base features (mfcc)...
Traceback (most recent call last):
File "/Users/theaknowles/opt/miniconda3/envs/aligner/bin/mfa", line 8, in <module>
sys.exit(main())
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/command_line/mfa.py", line 290, in main
run_align_corpus(args, acoustic_languages)
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/command_line/align.py", line 147, in run_align_corpus
align_corpus(args)
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/command_line/align.py", line 81, in align_corpus
a = PretrainedAligner(corpus, dictionary, acoustic_model, align_config,
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/aligner/pretrained.py", line 56, in __init__
super(PretrainedAligner, self).__init__(corpus, dictionary, align_config, temp_directory,
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/aligner/base.py", line 40, in __init__
self.setup()
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/aligner/pretrained.py", line 75, in setup
super(PretrainedAligner, self).setup()
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/aligner/base.py", line 45, in setup
self.align_config.feature_config.generate_features(self.corpus)
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/features/config.py", line 170, in generate_features
self.generate_base_features(corpus)
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/features/config.py", line 158, in generate_base_features
corpus.combine_feats()
File "/Users/theaknowles/opt/miniconda3/envs/aligner/lib/python3.8/site-packages/montreal_forced_aligner/corpus/base.py", line 436, in combine_feats
with open(path, 'r') as inf:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/theaknowles/Documents/MFA/in/corpus_data/split1/feats.0.scp'
Output in the corpus_data/split1/log:
dyld: Library not loaded: @loader_path/libfst.10.dylib
Referenced from: /Users/theaknowles/Documents/MFA/thirdparty/bin/copy-feats
Reason: image not found
dyld: Library not loaded: @loader_path/libfst.10.dylib
Referenced from: /Users/theaknowles/Documents/MFA/thirdparty/bin/compute-mfcc-feats
Reason: image not found
Things I've tried:
- Retraced the installation steps starting with (2), create (and overwrite) a new Conda environment
- Updated Xtools, which was outdated after the upgrade to Big Sur
- Updated and upgraded brew, as per advice #2 here & apparently a known recent OSX issue ("How to Fix ‘Dyld: Library not Loaded’ Error on MacOS")
- installed openblas (brew install openblas), after sussing out this might be the issue from similar errors posted here and here and then, when that still didn't work...
- tried creating a symbolic link via advice #1 here
Error persists and the log message remains the same. I'm unclear at this point whether this is related to an earlier error I made somewhere in the install or an OSX issue, or neither. Any thoughts appreciated!
(aligner) Theas-MBP:aligner theaknowles$ mfa align -d /Users/theaknowles/Documents/test/in /Users/theaknowles/Documents/test/librispeech-lexicon.txt /Users/theaknowles/Documents/test/english.zip /Users/theaknowles/Documents/test/out
All required kaldi binaries were found!
Setting up corpus information...
Number of speakers in corpus: 1, average number of utterances per speaker: 1.0
Parsing dictionary without pronunciation probabilties without silence probabilties
Creating dictionary information...
Setting up corpus_data directory...
Generating base features (mfcc)...
Calculating CMVN...
Done with setup.
Setup pretrained aligner in 4.67058801651001 seconds
Performed alignment in 2.7705650329589844 seconds
Exported TextGrids in 2.0274698734283447 seconds
Done! Everything took 11.402724981307983 seconds