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

Why did I report this error and what should I do #611

Open
hu-ye-yu opened this issue Sep 24, 2023 · 2 comments
Open

Why did I report this error and what should I do #611

hu-ye-yu opened this issue Sep 24, 2023 · 2 comments

Comments

@hu-ye-yu
Copy link

FP16 Run: False
Dynamic Loss Scaling: True
Distributed Run: False
cuDNN Enabled: True
cuDNN Benchmark: False
Warm starting model from checkpoint 'tacotron2_statedict.pt'
Epoch: 0
Traceback (most recent call last):
File "train.py", line 291, in
args.warm_start, args.n_gpus, args.rank, args.group_name, hparams)
File "train.py", line 208, in train
for i, batch in enumerate(train_loader):
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
return self._process_data(data)
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
data.reraise()
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/_utils.py", line 425, in reraise
raise self.exc_type(msg)
ValueError: Caught ValueError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/s1home/hyy523/tacotron2/tacotron2/data_utils.py", line 61, in getitem
return self.get_mel_text_pair(self.audiopaths_and_text[index])
File "/s1home/hyy523/tacotron2/tacotron2/data_utils.py", line 34, in get_mel_text_pair
mel = self.get_mel(audiopath)
File "/s1home/hyy523/tacotron2/tacotron2/data_utils.py", line 49, in get_mel
melspec = torch.from_numpy(np.load(filename))
File "/home/hyy523/anaconda3/envs/tacotron2/lib/python3.6/site-packages/numpy/lib/npyio.py", line 457, in load
raise ValueError("Cannot load file containing pickled data "
ValueError: Cannot load file containing pickled data when allow_pickle=False

@a897456
Copy link

a897456 commented Sep 25, 2023

Try the pre-trianed modle order directly after you have download the pre-trained modle:python train.py --output_directory=outdir --log_directory=logdir -c tacotron2_statedict.pt --warm_start

@a897456
Copy link

a897456 commented Sep 25, 2023

chinese?work together?weixin?

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

2 participants