Code Monkey home page Code Monkey logo

attention-for-speech-emotion-classification's Introduction

Attention-for-speech-emotion-classification


使用LSTM-Attention/GRU-Attention在Casia库中实现语音情感识别

文件介绍

  1. casia 按情感类型放入数据,casia全库需要保密,这里不予提供
  2. logs 记录训练过程,方便tensorboard查看
  3. model 存放当前最好模型
  4. pkl 存放提取好的特征
  5. attention_LSTM.py 实现了attention层
  6. Predict_epoch.py 实现了一个keras的callback函数,在每一层训练时都计算一次分类结果,方法统计最好结果时的混淆矩阵
  7. analysis.py 对attention层学习到的特征与lstm层学习到的特征进行可视化
  8. test_gru,test_lstm,Bilstm,BiGRU使用4个模型实现语音情感识别
  9. feature 使用两个语音方面的库进行特征提取,python_speech_features、librosa
  10. get_feature 批量获取所以语音样本的特征
  11. cross_validate 实现了交叉验证和非交叉验证的方式来准备训练测试数据

attention-for-speech-emotion-classification's People

Contributors

flyzaway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.