diff options
author | Determinant <[email protected]> | 2015-06-05 10:58:38 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-05 10:58:38 +0800 |
commit | be0e51156e1af9d619160bba1aa7c2eb2df30731 (patch) | |
tree | 95f54f08291479480b11d0266ca3b5cc3dec4352 /tnet_io/test.c | |
parent | a753eca0121ac3ec81ed76bd719d3f1cb9522680 (diff) |
add debug flag
Diffstat (limited to 'tnet_io/test.c')
-rw-r--r-- | tnet_io/test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tnet_io/test.c b/tnet_io/test.c index 8c06805..6812ef1 100644 --- a/tnet_io/test.c +++ b/tnet_io/test.c @@ -22,7 +22,7 @@ int main() { "/slfs1/users/mfy43/swb_ivec/train_bp.scp", "/slfs1/users/mfy43/swb_ivec/plp_0_d_a.conf", 5); Matrix *feat_utter; - feat_utter = tnet_feature_repo_read_utterance(feat_repo, NULL); + feat_utter = tnet_feature_repo_read_utterance(feat_repo, NULL, 1); TNetLabelRepo *lab_repo = tnet_label_repo_new( "/slfs1/users/mfy43/swb_ivec/ref.mlf", @@ -33,7 +33,8 @@ int main() { Matrix *lab_utter = tnet_label_repo_read_utterance(lab_repo, feat_utter->nrow - 5 * 2, tnet_feature_repo_current_samplerate(feat_repo), - tnet_feature_repo_current_tag(feat_repo), NULL); + tnet_feature_repo_current_tag(feat_repo), NULL, + 1); print_nerv_matrix(lab_utter); return 0; } |