Original Traceback (most recent call last):


 "/home/shivani/anaconda3/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/home/shivani/anaconda3/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch

return self.collate_fn(data)


 "/home/shivani/Projects/Real-Time-Voice-Cloning/encoder/data_objects/speaker_verification_dataset.py", line 55, in collate

return SpeakerBatch(speakers, self.utterances_per_speaker, partials_n_frames)


 "/home/shivani/Projects/Real-Time-Voice-Cloning/encoder/data_objects/speaker_batch.py", line 8, in __init__

self.partials = {s: s.random_partial(utterances_per_speaker, n_frames) for s in speakers}


 "/home/shivani/Projects/Real-Time-Voice-Cloning/encoder/data_objects/speaker_batch.py", line 8, in <dictcomp>

self.partials = {s: s.random_partial(utterances_per_speaker, n_frames) for s in speakers}


 "/home/shivani/Projects/Real-Time-Voice-Cloning/encoder/data_objects/speaker.py", line 34, in random_partial

self._load_utterances()


 "/home/shivani/Projects/Real-Time-Voice-Cloning/encoder/data_objects/speaker.py", line 14, in _load_utterances

with self.root.joinpath("_sources.txt").open("r") as sources_file:


 "/home/shivani/anaconda3/lib/python3.7/pathlib.py", line 1203, in open

opener=self._opener)


 "/home/shivani/anaconda3/lib/python3.7/pathlib.py", line 1058, in _opener

return self._accessor.open(self, flags, mode)

NotFoundError: [Errno 2] No such file or directory: 'LibriSpeech/dev-clean/_sources.txt'

Traceback (most recent call last):


 "u2net_train.py", line 93, in <module>

salobj_dataloader = DataLoader(salobj_dataset, batch_size=batch_size_train, shuffle=True, num_workers=1)


 "/home/home/anaconda3/envs/unet/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 262, in __init__

sampler = RandomSampler(dataset, generator=generator)
# type: ignore


 "/home/home/anaconda3/envs/unet/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 104, in __init__

"value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0
