-
Notifications
You must be signed in to change notification settings - Fork 53
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
进行MFA音素对齐时出错 #24
Comments
用不同的字典可能在后面会有问题,用pinyin.dict和pinyin_eng.dict会报什么错?最近没时间搞这个了,之前没固定版本,可能MFA更新了?如果用之前的MFA2最开始的几个版本试试呢? |
用pinyin.dict和pinyin_eng.dict 的错误是: Error parsing line 0 of MFA/pinyin.dict: Did not find any tabs, please ensure that your dictionary has tabs between OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead. Could not find the corpus directory /home/ms903/data/wav/speaker_name. OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead. Error parsing line 0 of /home/ms903/Downloads/VTuberTalk/MFA/pinyin.dict: Did not find any tabs, please ensure that |
我用MFA官网的模型加字典成功生成了TextGrid,进行训练的时候爆显存了,调什么参数能避免爆显存? 报错: Out of memory error on GPU 0. Cannot allocate 145.312500MB memory on GPU 0, 7.999878GB memory has been allocated and available memory is only 0.000000B. Please check whether there is any other process using GPU 0.
Traceback (most recent call last): Out of memory error on GPU 0. Cannot allocate 145.312500MB memory on GPU 0, 7.999878GB memory has been allocated and available memory is only 0.000000B. Please check whether there is any other process using GPU 0.
|
train/conf里调整batch size |
系统:wsl2-ubuntu20.4
python版本:3.8.13
之前用库里的pinyin.dict和pinyin_eng.dict进行MFA音素对齐时提示字典错误,去MFA官网下了Mandarin (China) MFA dictionary v2.0.0后不报字典错误了,但是运行一段时间以后报了以下错误,文件夹里也没有生成TextGrid文件
错误:
INFO - Accumulating statistics...
100%|████████████████████████████████████████████████████████████▉| 841/842 [00:22<00:00, 37.72it/s]
INFO - Training complete!
INFO - Compiling training graphs...
100%|███████████████████████████████████████████████████████████▉| 841/842 [00:02<00:00, 337.80it/s]
INFO - Generating alignments...
100%|████████████████████████████████████████████████████████████▉| 841/842 [00:29<00:00, 28.54it/s]
INFO - Initializing training for lda...
100%|███████████████████████████████████████████████████████████▉| 841/842 [00:01<00:00, 707.74it/s]
ERROR - There was an error in the run, please see the log.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/ms903/anaconda3/envs/py38/bin/mfa", line 11, in
sys.exit(main())
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/command_line/mfa.py", line 1071, in main
run_train_acoustic_model(args, unknown)
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/command_line/train_acoustic_model.py", line 112, in run_train_acoustic_model
train_acoustic_model(args, unknown_args)
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/command_line/train_acoustic_model.py", line 36, in train_acoustic_model
trainer.train()
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/trainer.py", line 394, in train
trainer.train()
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/base.py", line 533, in train
self.initialize_training()
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/base.py", line 266, in initialize_training
self._trainer_initialization()
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/lda.py", line 453, in _trainer_initialization
self.lda_acc_stats()
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/site-packages/montreal_forced_aligner/acoustic_modeling/lda.py", line 442, in lda_acc_stats
shutil.copyfile(
File "/home/ms903/anaconda3/envs/py38/lib/python3.8/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ms903/Documents/MFA/split_train_acoustic_model/lda/lda.mat'
The text was updated successfully, but these errors were encountered: