Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend installation fails: download acoustic english_us_arpa failed with a status code of 1 #14

Open
WeberJulian opened this issue Jan 31, 2023 · 0 comments

Comments

@WeberJulian
Copy link

Installing on Ubuntu with CUDA and 3090.

ERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['mfa', 'models', 'download', 'acoustic', 'english_us_arpa']' command failed. (See above for error) /opt/conda/envs/voice_smith/lib/python3.8/site-packages/Bio/pairwise2.py:278: BiopythonDeprecationWarning: Bio.pairwise2 has been deprecated, and we intend to remove it in a future release of Biopython. As an alternative, please consider using Bio.Align.PairwiseAligner as a replacement, and contact the Biopython developers if you still need the Bio.pairwise2 module. warnings.warn( Traceback (most recent call last): File "/opt/conda/envs/voice_smith/bin/mfa", line 7, in <module> from montreal_forced_aligner.command_line.mfa import main File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/__init__.py", line 4, in <module> import montreal_forced_aligner.acoustic_modeling as acoustic_modeling File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/__init__.py", line 7, in <module> from montreal_forced_aligner.acoustic_modeling.base import AcousticModelTrainingMixin # noqa File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/base.py", line 20, in <module> from montreal_forced_aligner.alignment import AlignMixin File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/alignment/__init__.py", line 6, in <module> from montreal_forced_aligner.alignment.adapting import AdaptingAligner File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/alignment/adapting.py", line 15, in <module> from montreal_forced_aligner.alignment.multiprocessing import AccStatsArguments, AccStatsFunction File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/alignment/multiprocessing.py", line 27, in <module> from montreal_forced_aligner.db import Dictionary, File, Phone, Speaker, Utterance, Word File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/montreal_forced_aligner/db.py", line 319, in <module> class Word(MfaSqlBase): File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/decl_api.py", line 194, in __init__ _as_declarative(reg, cls, dict_) File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 246, in _as_declarative return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 327, in setup_mapping return _ClassScanMapperConfig( File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 558, in __init__ self._scan_attributes() File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 1000, in _scan_attributes collected_annotation = self._collect_annotation( File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 1142, in _collect_annotation extracted = _extract_mapped_subtype( File "/opt/conda/envs/voice_smith/lib/python3.8/site-packages/sqlalchemy/orm/util.py", line 2306, in _extract_mapped_subtype raise sa_exc.ArgumentError( sqlalchemy.exc.ArgumentError: Type annotation for "Word.dictionary" can't be correctly interpreted for Annotated Declarative Table form. ORM annotations should normally make use of the ``Mapped[]`` generic type, or other ORM-compatible generic type, as a container for the actual type, which indicates the intent that the attribute is mapped. Class variables that are not intended to be mapped by the ORM should use ClassVar[]. To allow Annotated Declarative to disregard legacy annotations which don't use Mapped[] to pass, set "__allow_unmapped__ = True" on the class or a superclass this class. (Background on this error at: https://sqlalche.me/e/20/zlpr)
docker exec voice_smith conda run -n voice_smith mfa models download acoustic english_us_arpa failed with a status code of 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant