hldwby / asr Goto Github PK
View Code? Open in Web Editor NEWAn ASR Demo
An ASR Demo
模型部分基本一样,都是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)有关系吗?
需要如何输入数据呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.