Coder Social home page Coder Social logo

gan-based-speech-enhancement-keras-'s Introduction

GAN-based-speech-enhancement-Keras-

Keras implementation of speech enhancement based on LSGAN 本文仿真内容参考文章:SEGAN:SpeechEnhancementGenerativeAdversarialNetwork; 一开始完全按照上文仿真时,计算量太大,我的渣电脑直接死机,后面我对网络输入输出以及结构做了一点简化。

生成器部分有两个输入,inputs是noisy信号,是需要经过神经网络进行增强的信号; 另一个输入inputs1是clean信号,该部分信号仅参与loss function的计算

训练阶段noisy和clean信号为1024点一帧,16K采样率。50%重叠。需要准备的数据格式为(帧数,1024); 测试数据没有重叠,其他与训练阶段数据一致。数据可以用matlab生成.mat格式保存。

目前版本写的比较简陋。后续我会用python里面的生成器实时生成不同信噪比的数据再用keras里的fit.generator进行训练。 敬请关系后续更新!!

gan-based-speech-enhancement-keras-'s People

Contributors

fy378968174 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gan-based-speech-enhancement-keras-'s Issues

regarding get_train_data

Hi, I noticed that you imported get_train_data in the beginning. May I ask where is that package comes from?
Also, when I try to run the program, it shows that

TypeError Traceback (most recent call last)
in ()
20 cov4=(Conv2DTranspose(256,31, strides=(1,1),padding='same'))(cov3)
21 cov4=(PReLU())(cov4)
---> 22 z1 = merge([cov3,cov4], mode='sum')
23 cov5=(Conv2DTranspose(128,31, strides=(4,1),padding='same'))(z1)
24 cov5=(PReLU())(cov5)

TypeError: 'module' object is not callable.

Is it because the merge() function comes from the get_train_data package?

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.