摘要: chainbin/nnet3-chain-train.cc int main(int argc, char *argv[]) { ... Nnet nnet; ReadKaldiObject(nnet_rxfilename, &nnet); bool ok; { fst::StdVectorFst den_fst; ReadFstKaldi(den_fst_r... 阅读全文
posted @ 2019-01-17 10:58 JarvanWang 阅读(2744) 评论(2) 推荐(1) 编辑
摘要: matrix/cblas-wrappers.h 该头文件对CBLAS与CLAPACK的接口进行了简单的封装(将不同数据类型的多个接口封装为一个)。 比如 cblas_scopy和cblas_dcopy封装为cblas_Xcopy clapack_sgetri和clapack_dgetri封装为clapack_Xgetri 上述接口的声明位于matrix/kaldi-blas.h中... 阅读全文
posted @ 2019-01-17 10:44 JarvanWang 阅读(1896) 评论(0) 推荐(1) 编辑
摘要: cudamatrix/cublas-wrappers.h 该头文件对cuBLAS的接口进行了简单的封装(函数名的简化和部分kaldi函数的封装)。 比如 cublasSgemm_v2封装为cublas_gemm cublas_copy_kaldi_fd和cublas_copy_kaldi_df封装为cublas_copy cudamatrix/cu-kernels.{h,cu} ... 阅读全文
posted @ 2019-01-17 10:44 JarvanWang 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: 安装 http://www.openfst.org/twiki/bin/view/GRM/ThraxQuickTour http://cslu.ogi.edu/~sproatr/Courses/TextNorm/tutorial.html http://www.openfst.org/twiki/pub/GRM/ThraxDownload/thrax-1.2.7.tar.gz thra... 阅读全文
posted @ 2019-01-17 10:33 JarvanWang 阅读(2882) 评论(0) 推荐(0) 编辑
摘要: gdb nnet3-compute测试命令 $ matrix-dim 'scp: head -n 1 data/test/feats.scp|' ~/kaldi/src/bin/matrix-dim 'scp: head -n 1 data/test/feats.scp|' foo 20560 39 $ nnet3-compute --frame_subsampling-factor=... 阅读全文
posted @ 2019-01-17 10:23 JarvanWang 阅读(829) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env perl # Copyright 2018 Jarvan Wang if (@ARGV != 1) { #print STDERR "Usage: keyword_summarize.pl text utt2dur\n"; print STDERR "Usage: keyword_summarize.pl \n"; exit(1); } my $text... 阅读全文
posted @ 2019-01-17 10:14 JarvanWang 阅读(280) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # Copyright 2018 Jarvan Wang # Copyright 2017 Vimal Manohar # Apache 2.0. cmd=run.pl nj=40 if [ -f ./path.sh ]; then . ./path.sh; fi . ./utils/parse_options.sh if [ $# -ne 3... 阅读全文
posted @ 2019-01-17 10:13 JarvanWang 阅读(405) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # Copyright 2018 Jarvan Wang Apache 2.0. # Copyright 2016 Xiaohui Zhang Apache 2.0. # This srcipt operates on lattice directories, such as exp/tri4a_lats # the output is a new lat d... 阅读全文
posted @ 2019-01-17 10:13 JarvanWang 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 第II节简要介绍与本文有关的先前工作第III节介绍文中使用的定义以及术语 第IV节介绍如何从原始ASR lattices中生成倒排索引结构 第V节详细介绍了ASR结构以及实验使用的数据 第VI节提供了在一个大数据集之上,提出的倒排索引结构 的STD实验评估。 第VII节总结倒排索引结构的优点以及未来展望 IV 带权自动机的时间因子转换器 本节提出了一... 阅读全文
posted @ 2019-01-17 10:11 JarvanWang 阅读(766) 评论(0) 推荐(0) 编辑
摘要: 论文 Povey, D., Cheng, G., Wang, Y., Li, K., Xu, H., Yarmohamadi, M., & Khudanpur, S. (2018). Semi-orthogonal low-rank matrix factorization for deep neural networks. In Proceedings of the 19th Annual Co... 阅读全文
posted @ 2019-01-17 10:10 JarvanWang 阅读(682) 评论(0) 推荐(0) 编辑
摘要: TDNN模型示例 TDNN拼帧: 第8层:(0,3) 第7层:(-9,0) 第6层:(0,3) 第5层:(-6,0) 第4层:(0,3) 第3层:(-3,0) 第2层:(0,3) 第1层:(-3,0) 输出依赖 要在输出层处输出第1帧,各层需要的帧的时间索引如下: 第8层:1,4 第7层:-9,-6,1,4 第6层:-9,-6,1,4,7 第5层:-15,-12,-9... 阅读全文
posted @ 2019-01-17 10:09 JarvanWang 阅读(1563) 评论(0) 推荐(0) 编辑