Giter Club home page Giter Club logo

voiceprint's Introduction

A simple model implemented with tensorflow for voiceprint

wav-->fbank-->lstm-->embedding-->train and test/softmax(pretrain)-->train

dataset: https://datashare.is.ed.ac.uk/download/DS_10283_2651.zip

Hyperparameters used in the model

  • duration of wavs used for training: 2000ms
  • how long each frame of spectrograme: 25ms
  • how far to move in time between two frames: 10ms
  • numbers of coefficients of fbank: 40
  • numbers of enrollment utts for each speaker: 5
  • numbers of units for each layer of lstm: 128
  • dimension of projection layer of lstm: 64
  • number of layers of multi-lstm: 3
  • dimension of linear layer on top of lstm: 64
  • learning rate: 0.0001
  • dropout prob: 0.5
  • batch size: 80
  • Each batch contains N = 8 speakers and M = 10 utterances per speaker.
  • Each batch contains N = 64 speakers and M = 10 utterances per speaker.

voiceprint's People

Contributors

rdshi avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

voiceprint's Issues

代码中不明白的一行

您好:
首先非常感谢您的工作,我在理解代码过程中有一个地方始终没搞明白:
default
train_model.py中的187行左右
embsp = sess.run(embeddings, feed_dict={x_b: test_feats[args.batch_size-len(enroll_feats):], keep_prob: 1})
embeddings要求输入的x_b大小必须是batch_size维度的,对吧?
这里feed的test_feats[args.batch_size-len(enroll_feats):]的大小肯定不是batch_size啊?
源代码batch_size=128 我修改了一下之后这里一直报错,由于我自己的数据集比较小,对test_file的选取的一些参数我都改小了,但是即便是原始的参数,我计算了一下,也不对啊
不知道我不是哪里理解错了

issue

我想问一下这个实验的执行过程是什么步骤哦?能说一下吗?

是否有对应的paper?

你好,看到你的代码,觉得会对自己的工作有帮助,想问下有没有对应的paper,我想去读一读

无法使用GPU运算

我正确安装了tensorflow-gpu并且已经把tf.device('/cpu:0')改成了gpu,但是运算依然在cpu上运行,请问如何修改到gpu运算?

测试py

您好,感谢您的分享~请问有没有test_model呢?

数据集

你好,我对你的代码很感兴趣,想咨询一下如果我要换成我的aishell中文数据集,应该对代码作什么样的更改,能否给我一些建议?

pretrained_model

So glad to read your code. But I don't know how to get "pretrained_model", please give me some advice.

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.