You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/heike/anaconda3/envs/BertVits2-2/bin/python /home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py
加载config中的配置localhost
加载config中的配置10086
加载config中的配置1
加载config中的配置0
加载config中的配置0
加载环境变量
MASTER_ADDR: localhost,
MASTER_PORT: 10086,
WORLD_SIZE: 1,
RANK: 0,
LOCAL_RANK: 0
100%|██████████| 180/180 [00:00<00:00, 39428.39it/s]
100%|██████████| 5/5 [00:00<00:00, 44906.90it/s]
05-29 19:35:29 INFO | data_utils.py:63 | Init dataset...
05-29 19:35:29 INFO | data_utils.py:78 | skipped: 8, total: 180
05-29 19:35:29 INFO | data_utils.py:63 | Init dataset...
05-29 19:35:29 INFO | data_utils.py:78 | skipped: 0, total: 5
Using noise scaled MAS for VITS2
Using duration discriminator for VITS2
Use existed model, skip downloading.
加载DUR
INFO:models:Loaded checkpoint 'Data/yaoyao/models/DUR_0.pth' (iteration 1)
INFO:models:Loaded checkpoint 'Data/yaoyao/models/G_0.pth' (iteration 1)
加载G
INFO:models:Loaded checkpoint 'Data/yaoyao/models/D_0.pth' (iteration 1)
加载D 检测到模型存在,epoch为 1,gloabl step为 0***
0it [00:02, ?it/s]
Traceback (most recent call last):
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py", line 705, in
run()
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py", line 306, in run
train_and_evaluate(
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py", line 366, in train_and_evaluate
for batch_idx, (
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/tqdm/std.py", line 1182, in iter
for obj in iterable:
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 633, in next
data = self._next_data()
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1345, in _next_data
return self._process_data(data)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1371, in _process_data
data.reraise()
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/_utils.py", line 644, in reraise
raise exception
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 114, in get_audio
spec = torch.load(spec_filename)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/serialization.py", line 252, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './Data/yaoyao/wavs/vo_yaoyao_mimitomo_friendship3_10.spec.pt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 181, in getitem
return self.get_audio_text_speaker_pair(self.audiopaths_sid_text[index])
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 95, in get_audio_text_speaker_pair
spec, wav = self.get_audio(audiopath)
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 138, in get_audio
if config.train_ms.spec_cache:
AttributeError: module 'config' has no attribute 'train_ms'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
/home/heike/anaconda3/envs/BertVits2-2/bin/python /home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py
加载config中的配置localhost
加载config中的配置10086
加载config中的配置1
加载config中的配置0
加载config中的配置0
加载环境变量
MASTER_ADDR: localhost,
MASTER_PORT: 10086,
WORLD_SIZE: 1,
RANK: 0,
LOCAL_RANK: 0
100%|██████████| 180/180 [00:00<00:00, 39428.39it/s]
100%|██████████| 5/5 [00:00<00:00, 44906.90it/s]
05-29 19:35:29 INFO | data_utils.py:63 | Init dataset...
05-29 19:35:29 INFO | data_utils.py:78 | skipped: 8, total: 180
05-29 19:35:29 INFO | data_utils.py:63 | Init dataset...
05-29 19:35:29 INFO | data_utils.py:78 | skipped: 0, total: 5
Using noise scaled MAS for VITS2
Using duration discriminator for VITS2
Use existed model, skip downloading.
加载DUR
INFO:models:Loaded checkpoint 'Data/yaoyao/models/DUR_0.pth' (iteration 1)
INFO:models:Loaded checkpoint 'Data/yaoyao/models/G_0.pth' (iteration 1)
加载G
INFO:models:Loaded checkpoint 'Data/yaoyao/models/D_0.pth' (iteration 1)
加载D
检测到模型存在,epoch为 1,gloabl step为 0***
0it [00:02, ?it/s]
Traceback (most recent call last):
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py", line 705, in
run()
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py", line 306, in run
train_and_evaluate(
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/train_ms.py", line 366, in train_and_evaluate
for batch_idx, (
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/tqdm/std.py", line 1182, in iter
for obj in iterable:
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 633, in next
data = self._next_data()
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1345, in _next_data
return self._process_data(data)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1371, in _process_data
data.reraise()
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/_utils.py", line 644, in reraise
raise exception
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 114, in get_audio
spec = torch.load(spec_filename)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/serialization.py", line 252, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './Data/yaoyao/wavs/vo_yaoyao_mimitomo_friendship3_10.spec.pt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/heike/anaconda3/envs/BertVits2-2/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 181, in getitem
return self.get_audio_text_speaker_pair(self.audiopaths_sid_text[index])
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 95, in get_audio_text_speaker_pair
spec, wav = self.get_audio(audiopath)
File "/home/heike/hkdata/Code/wzl/Python/Bert-VITS2-2.1.0/data_utils.py", line 138, in get_audio
if config.train_ms.spec_cache:
AttributeError: module 'config' has no attribute 'train_ms'
进程已结束,退出代码为 1
Beta Was this translation helpful? Give feedback.
All reactions