An advanced singing voice synthesis system with high fidelity, expressiveness, controllability and flexibility based on DiffSinger: Singing Voice Synthesis via Shallow Diffusion Mechanism
raceback (most recent call last):
File "scripts/train.py", line 31, in <module>
run_task()
File "scripts/train.py", line 27, in run_task
task_cls.start()
File "D:\AITools\DiffSinger\basics\base_task.py", line 468, in start
trainer.fit(task, ckpt_path=get_latest_checkpoint_path(work_dir))
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\trainer\trainer.py", line 543, in fit
call._call_and_handle_interrupt(
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\trainer\call.py", line 44, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\trainer\trainer.py", line 579, in _fit_impl
self._run(model, ckpt_path=ckpt_path)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\trainer\trainer.py", line 986, in _run
results = self._run_stage()
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\trainer\trainer.py", line 1028, in _run_stage
self._run_sanity_check()
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\trainer\trainer.py", line 1057, in _run_sanity_check
val_loop.run()
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\loops\utilities.py", line 182, in _decorator
return loop_run(self, *args, **kwargs)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\loops\evaluation_loop.py", line 128, in run
batch, batch_idx, dataloader_idx = next(data_fetcher)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\loops\fetchers.py", line 133, in __next__
batch = super().__next__()
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\loops\fetchers.py", line 60, in __next__
batch = next(self.iterator)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\utilities\combined_loader.py", line 341, in __next__
out = next(self._iterator)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\lightning\pytorch\utilities\combined_loader.py", line 142, in __next__
out = next(self.iterators[0])
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\torch\utils\data\dataloader.py", line 630, in __next__
data = self._next_data()
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\torch\utils\data\dataloader.py", line 1344, in _next_data
return self._process_data(data)
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\torch\utils\data\dataloader.py", line 1370, in _process_data
data.reraise()
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\torch\_utils.py", line 706, in reraise
raise exception
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\torch\utils\data\_utils\worker.py", line 309, in _worker_loop
data = fetcher.fetch(index) # type: ignore[possibly-undefined]
File "C:\Users\china\.conda\envs\DiffSinger\lib\site-packages\torch\utils\data\_utils\fetch.py", line 55, in fetch
return self.collate_fn(data)
File "D:\AITools\DiffSinger\training\variance_task.py", line 45, in collater
batch['ph2word'] = utils.collate_nd([s['ph2word'] for s in samples], 0)
File "D:\AITools\DiffSinger\training\variance_task.py", line 45, in <listcomp>
batch['ph2word'] = utils.collate_nd([s['ph2word'] for s in samples], 0)
KeyError: 'ph2word'
如题。
进度条出现一会后报错:
我的配置文件:
拉取一次主分支后错误仍然存在。