FileNotFoundError: [Errno 2] No such file or directory:

when i start trainig i get this error
(I created my own data set)

Traceback (most recent call last):
File “/usr/lib/python3.7/multiprocessing/pool.py”, line 121, in worker
result = (True, func(*args, **kwds))
File “/content/DeepSpeech/training/deepspeech_training/util/augmentations.py”, line 155, in _load_and_augment_sample
realized_sample = unpack_maybe(sample)
File “/content/DeepSpeech/training/deepspeech_training/util/sample_collections.py”, line 88, in unpack_maybe
realized_sample = sample.unpack()
File “/content/DeepSpeech/training/deepspeech_training/util/sample_collections.py”, line 75, in unpack
with open_remote(self.filename, ‘rb’) as audio_file:
File “/content/DeepSpeech/training/deepspeech_training/util/io.py”, line 48, in open_remote
return open(path, mode, buffering=buffering, encoding=encoding, newline=newline, closefd=closefd, opener=opener)
FileNotFoundError: [Errno 2] No such file or directory: ‘/content/drive/MyDrive/processed_data/wav\myvoice_48.wav’

this myvoice_48 file exists in the location-
os.path.isfile(’/content/drive/MyDrive/processed_data/wav/myvoice_48.wav’)
returns true

how can i continue trainig?

Please pay attention to your error message, you have a backslash: \.

1 Like