Giter VIP home page Giter VIP logo

Comments (2)

autumn-2-net avatar autumn-2-net commented on July 20, 2024

RuntimeError: Caught RuntimeError in DataLoader worker process 5.
Original Traceback (most recent call last):
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\torch\utils\data_utils\worker.py", line 308, in worker_loop
data = fetcher.fetch(index)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\propj\AudioFixer\dataSET\AF_dataset.py", line 80, in getitem
wavs,sr=torchaudio.load(data_path)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\torchaudio_backend\utils.py", line 203, in load
return backend.load(uri, frame_offset, num_frames, normalize, channels_first, format, buffer_size)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\torchaudio_backend\soundfile.py", line 26, in load
return soundfile_backend.load(uri, frame_offset, num_frames, normalize, channels_first, format)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\torchaudio_backend\soundfile_backend.py", line 230, in load
waveform = file
.read(frames, dtype, always_2d=True)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\soundfile.py", line 867, in read
frames = self._array_io('read', out, frames)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\soundfile.py", line 1312, in _array_io
return self._cdata_io(action, cdata, ctype, frames)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\soundfile.py", line 1322, in _cdata_io
_error_check(self._errorcode)
File "C:\Users\autumn.conda\envs\py10\lib\site-packages\soundfile.py", line 1357, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error : flac decoder lost sync.

from python-soundfile.

bastibe avatar bastibe commented on July 20, 2024

please reopen this issue with libsndfile, and provide the audio file as an example.

from python-soundfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.