Coder Social home page Coder Social logo

Comments (5)

amanbasu avatar amanbasu commented on May 26, 2024

In this project, we have used human speech signals for detecting the emotions. Now since these voice samples can vary in time, we need to convert them to a common shape that requires padding (neural networks require data in a fixed shape for training).
Either whole data can be padded altogether or batch-wise, the later one is more memory efficient and we have used Bucket Iterator for the same.
Bucket Iterator takes the batch size as the parameter and returns a random padded batch of data including both input and its corresponding label.

from speech-emotion-recognition.

Jon-Zbw avatar Jon-Zbw commented on May 26, 2024

I want to know what is the main function of 'Mel.py' , Just want to show the difference between FBANK and MFCC?

from speech-emotion-recognition.

amanbasu avatar amanbasu commented on May 26, 2024

Yes, it is just for reference and understanding Mel.

from speech-emotion-recognition.

Jon-Zbw avatar Jon-Zbw commented on May 26, 2024

when i copy your ‘class BucketedDataIterator():’
I don't know where the problem is. Can you help me?
Traceback (most recent call last):
File "D:/Project/pycharm/RNN/create_mfcc.py", line 164, in
mini_batch = tr.next_batch(128)
File "D:/Project/pycharm/RNN/create_mfcc.py", line 160, in next_batch
x_i[:res['lengths'].values[i]] = res['MFCC'].values[i]
TypeError: slice indices must be integers or None or have an index method

from speech-emotion-recognition.

Jon-Zbw avatar Jon-Zbw commented on May 26, 2024

my file like this:
........................................................... MFCC ........................................... lengths
0 [[-10.494777560823318, 19.205118287686812, 16.... ... 1099.0
1 [[-11.632857909892738, 5.8760442872698695, 29.... ... 1099.0
2 [[-8.773702814090234, -12.86215112148708, -7.2... ... 299.0
3 [[-8.411895008114222, -1.9307392294278005, -7.... ... 299.0
4 [[-6.969186995608002, -17.02179303376442, -23.... ... 299.0

from speech-emotion-recognition.

Related Issues (9)

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.