You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Epoch:1
Steps : 0, Gen Loss Total : 29.366, Dis Loss Total : 3.910, s/b : 1.833
......
Steps : 1390, Gen Loss Total : 15.950, Dis Loss Total : 2.581, s/b : 0.525
Steps : 1400, Gen Loss Total : 20.574, Dis Loss Total : 2.378, s/b : 0.534
Traceback (most recent call last):
File "E:\000\naturalspeech2-pytorch-main\04_soundstream_0407.py", line 166, in
main()
File "E:\000\naturalspeech2-pytorch-main\04_soundstream_0407.py", line 163, in main
train(a)
File "E:\000\naturalspeech2-pytorch-main\04_soundstream_0407.py", line 69, in train
for i ,batch in enumerate(train_dataloader):
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data\dataloader.py", line 630, in next
data = self._next_data()
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data\dataloader.py", line 674, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "E:\000\naturalspeech2-pytorch-main\dataset.py", line 46, in getitem
audio, sampling_rate = soundfile.read(filename)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 288, in read
data = f.read(frames, dtype, always_2d, fill_value, out)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 895, in read
frames = self._array_io('read', out, frames)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 1344, in _array_io
return self._cdata_io(action, cdata, ctype, frames)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 1354, in _cdata_io
_error_check(self._errorcode)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 1407, in _error_check
raise LibsndfileError(err, prefix=prefix)
soundfile.LibsndfileError: Error : unknown error in flac decoder.
can anyone help me?
The text was updated successfully, but these errors were encountered:
Epoch:1
Steps : 0, Gen Loss Total : 29.366, Dis Loss Total : 3.910, s/b : 1.833
......
Steps : 1390, Gen Loss Total : 15.950, Dis Loss Total : 2.581, s/b : 0.525
Steps : 1400, Gen Loss Total : 20.574, Dis Loss Total : 2.378, s/b : 0.534
Traceback (most recent call last):
File "E:\000\naturalspeech2-pytorch-main\04_soundstream_0407.py", line 166, in
main()
File "E:\000\naturalspeech2-pytorch-main\04_soundstream_0407.py", line 163, in main
train(a)
File "E:\000\naturalspeech2-pytorch-main\04_soundstream_0407.py", line 69, in train
for i ,batch in enumerate(train_dataloader):
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data\dataloader.py", line 630, in next
data = self._next_data()
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data\dataloader.py", line 674, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "E:\000\naturalspeech2-pytorch-main\dataset.py", line 46, in getitem
audio, sampling_rate = soundfile.read(filename)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 288, in read
data = f.read(frames, dtype, always_2d, fill_value, out)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 895, in read
frames = self._array_io('read', out, frames)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 1344, in _array_io
return self._cdata_io(action, cdata, ctype, frames)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 1354, in _cdata_io
_error_check(self._errorcode)
File "E:\ProgramData\anaconda3\envs\py38Janp\lib\site-packages\soundfile.py", line 1407, in _error_check
raise LibsndfileError(err, prefix=prefix)
soundfile.LibsndfileError: Error : unknown error in flac decoder.
can anyone help me?
The text was updated successfully, but these errors were encountered: