[v] Have you updated to latest MFA version? yupp
[v] Have you tried rerunning the command with the --clean flag? I used pip uninstall montreal-forced-aligner and reinstalled it.
Describe the issue
A clear and concise description of what the bug is.
At first, I install mfa and activate conda aligner as descripted here
Then I got the following error message.
(aligner) collie@Collieui-MacBookPro ~ % mfa model download dictionary
Traceback (most recent call last):
File "/Users/collie/miniconda3/envs/aligner/bin/mfa", line 6, in
from montreal_forced_aligner.command_line.mfa import mfa_cli
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/init.py", line 6, in
import montreal_forced_aligner.command_line as command_line
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/command_line/init.py", line 12, in
from montreal_forced_aligner.command_line.diarize_speakers import diarize_speakers_cli
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/command_line/diarize_speakers.py", line 12, in
from montreal_forced_aligner.diarization.speaker_diarizer import SpeakerDiarizer
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/montreal_forced_aligner/diarization/speaker_diarizer.py", line 59, in
from montreal_forced_aligner.diarization.multiprocessing import (
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/montreal_forcedaligner/diarization/multiprocessing.py", line 15, in
import hdbscan
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/hdbscan/init.py", line 1, in
from .hdbscan import HDBSCAN, hdbscan
File "/Users/collie/miniconda3/envs/aligner/lib/python3.11/site-packages/hdbscan/hdbscan_.py", line 40, in
FAST_METRICS = KDTree.valid_metrics + BallTree.valid_metrics + ["cosine", "arccos"]
TypeError: unsupported operand type(s) for +: 'builtin_function_or_method' and 'builtin_function_or_method'
Then I tried uninstall and reinstall mfa, running the following code.
pip uninstall montreal-forced-aligner
But still have similar issue as below.
(aligner) collie@Collieui-MacBookPro ~ % mfa model download
zsh: command not found: mfa
For Reproducing your issue
Please fill out the following:
Corpus structure
What language is the corpus in? n/a
How many files/speakers? n/a
Are you using lab files or TextGrid files for input? n/a
Dictionary
Are you using a dictionary from MFA? If so, which one? n/a
If it's a custom dictionary, what is the phoneset? n/a
Acoustic model
If you're using an acoustic model, is it one download through MFA? If so, which one? n/a
If it's a model you've trained, what data was it trained on? n/a
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):
OS: [e.g. Windows, OSX, Linux] macOS
Version [e.g. MacOSX 10.15, Ubuntu 20.04, Windows 10, etc] macOS Ventura 13.4
Any other details about the setup (Cloud, Docker, etc) used terminal
Additional context
Add any other context about the problem here.
Debugging checklist
[v] Have you updated to latest MFA version? yupp [v] Have you tried rerunning the command with the
--clean
flag? I usedpip uninstall montreal-forced-aligner
and reinstalled it.Describe the issue A clear and concise description of what the bug is.
At first, I install mfa and activate conda aligner as descripted here
Then I got the following error message.
Then I tried uninstall and reinstall mfa, running the following code.
pip uninstall montreal-forced-aligner
But still have similar issue as below.
For Reproducing your issue Please fill out the following:
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.