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

raise KeyError("Missing utterance {}!".format(index)) KeyError: 'Missing utterance clnsp1!' #8

Open
mnabihali opened this issue Jun 24, 2020 · 2 comments

Comments

@mnabihali
Copy link

Traceback (most recent call last):
File "train.py", line 86, in
run(args)
File "train.py", line 50, in run
trainer.run(train_loader, dev_loader, num_epochs=args.epochs)
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/nnet/libs/trainer.py", line 215, in run
cv = self.eval(dev_loader)
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/nnet/libs/trainer.py", line 203, in eval
for egs in data_loader:
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/nnet/libs/dataset.py", line 143, in iter
for chunks in self.eg_loader:
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/python3.6/site-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/python3.6/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/python3.6/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/python3.6/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/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 "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/lib64/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/nnet/libs/dataset.py", line 42, in getitem
ref = [reader[key] for reader in self.ref]
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/nnet/libs/dataset.py", line 42, in
ref = [reader[key] for reader in self.ref]
File "/hardmnt/moissan0/home/mnabih/piccadilly0/home/mnabih/PycharmProjects/Co/nnet/libs/audio.py", line 119, in getitem
raise KeyError("Missing utterance {}!".format(index))
KeyError: 'Missing utterance clnsp10!'

@yudashuixiao1
Copy link

hi,did you fix the problem? I also meet that.

@elton11142
Copy link

hi,did you fix the problem? I also meet that.

您好,我想请问下Conv tasnet模型你最后实现成功了吗

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

3 participants