Coder Social home page Coder Social logo

Comments (3)

NickWilkinson37 avatar NickWilkinson37 commented on May 28, 2024

Hi @a-n-rose

I'm glad to hear you've been finding the package useful.

Thank you for pointing this out, I suspect you are correct that it is caused by no voice activity being identified. That would cause NaN values or an empty DataFrame like you said. I will do some testing to double check that there isn't some other underlying issue causing the bug and I will apply a fix.

Thanks again for bringing this to my attention!

from voxseg.

antonakv avatar antonakv commented on May 28, 2024

Hello @NickWilkinson37

I have attached wav file which causes ValueError: cannot convert float NaN to integer

Best regards,
Anton

24_10_2021-150256.wav.zip

from voxseg.

rafaelgreca avatar rafaelgreca commented on May 28, 2024

Any updates? I did the following workaround in the decode function on the run_cnnlstm file to avoid this error:

targets = targets.drop(['predicted-targets'], axis=1)
targets.fillna(value=0, inplace=True)
targets = targets.apply(pd.Series.explode).reset_index(drop=True)
targets['utterance-id'] = targets['recording-id'].astype(str) + '_' + \
                        ((targets['start'] * 100).astype(int)).astype(str).str.zfill(7) + '_' + \
                        ((targets['end'] * 100).astype(int)).astype(str).str.zfill(7)

from voxseg.

Related Issues (8)

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.