Code Monkey home page Code Monkey logo

asr's People

Contributors

hldwby avatar

Watchers

 avatar

asr's Issues

我正好也在利用ASRT,你知道如何fit_generator变为fit吗?

模型部分基本一样,都是251
但我想用fit的方式进行训练,却得到如下错误

AssertionError: Could not compute output Tensor("ctc/ExpandDims:0", shape=(None, 1), dtype=float32)

不能计算输出张量,我怀疑是我的输入参数有问题,搜到你的关于backend.ctc_batch_cost的一篇文章才转到这里来

#我是用MFCC做特征的
x_train.shape (8,800,26,1)
#最长21个字
y_train.shape (21,1)

history = self.model.fit(x_train,
y_train,
epochs=epochs,
verbose=1,
validation_split=0.1,
callbacks=self.callbacks)

我想问一下,这个报错是和y_train还有ctc_batch_cost(y_true, y_pred, input_length, label_length)有关系吗?
需要如何输入数据呢?

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.