Code Monkey home page Code Monkey logo

Comments (6)

chrisdonahue avatar chrisdonahue commented on August 16, 2024 1

Sorry for the late reply. Was on vacation. This error is thrown by librosa when you don't have a suitable audio IO backend installed. If you are training on the spoken digits dataset, you should be able to add the flag --data_fastwav which will both get rid of this error and make training faster.

from wavegan.

shin777kk avatar shin777kk commented on August 16, 2024

Can you tell me how to perform wavegan and specgan?
I am following the Read Me but can't execute, Do I need to import a dataset? What is the command?

from wavegan.

spagliarini avatar spagliarini commented on August 16, 2024

Sorry to bother you again. Actually, using that option I run into a format error.
I copy paste here to make the error clear:

"File format b'\x80\x00\x01\x00'... not understood."

I also tried to use the option --data_first_slice but it does not solve the error.

from wavegan.

chrisdonahue avatar chrisdonahue commented on August 16, 2024

Hi there. This looks like perhaps a Python 2/3 compatibility issue. Or perhaps an issue with the way you are passing the file format via the command line. Can you tell me the line of code where this error is raised?

from wavegan.

spagliarini avatar spagliarini commented on August 16, 2024

Hi, sorry for the delay.

Here the lines where the error is raised.

in loader.py line 128,
fast_wav=decode_fast_wav)

line 36, in decode_audio
_wav, _fs = librosa.core.load(fp, sr=fs, mono=False)

line 112, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:

line 116, in audio_open
raise NoBackendError()

audioread.NoBackendError

from wavegan.

chrisdonahue avatar chrisdonahue commented on August 16, 2024

You don't have a program installed that librosa can use to read audio files. Usually I install ffmpeg. more details: librosa/librosa#589

from wavegan.

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.