Code Monkey home page Code Monkey logo

Comments (3)

SahajRana avatar SahajRana commented on July 17, 2024

In this,

python data/make_tfrecord.py \ /my/audio/folder/trainset \ ./data/customdataset \ --ext mp3 \ --fs 16000 \ --nshards 64 \ --slice_len 1.5 \

either you have taken the wrong extension of audio file like --ext mp3 \ in place of --ext wav \

or length of audio files is less than given length ie 1.5 sec --slice_len 1.5 \

from wavegan.

wbwdhr avatar wbwdhr commented on July 17, 2024

1.Try not to use Windows system. Make sure your system is Ubantu 16.04.
2. Make sure you have installed ffmpeg;
3.【--slice_len 1】The meaning of this command is the length of time per slice. So make sure that this length is less than the audio length of your dataset. eg:SC09 dateset length is about 1.2s,so you should set 【--slice_len】 to a value shorter than 1.2 seconds. If you set 【--slice_len】 to 1.5, you will get some empty files.
4. Check your Python version. If your Python version is Python 3,you may encounter some errors when you adjust the length of the slice before running it.
Like this:TypeError: 'S' has type str, but expected one of: bytes'
The solutions to this problem are listed below in issue: [Dataset creation problem #4] @LiangqunLu question. @chrisdonahue has offered a solution.

from wavegan.

chrisdonahue avatar chrisdonahue commented on July 17, 2024

I just released an updated version of the codebase which no longer requires data preprocessing. Now you can just pass in a folder of MP3s/WAVs/OGGs/etc. during training.

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.