Skip to content

Commit

Permalink
debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Oct 12, 2023
1 parent bf18d71 commit 0f0be74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dnn/lpcnet_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ int main(int argc, char **argv) {
#ifdef USE_WEIGHTS_FILE
fargan_load_model(fwgan, data, len);
#endif
/* uncomment the following to align with Python code */
/*ret = fread(&in_features[0], sizeof(in_features[0]), NB_TOTAL_FEATURES, fin);*/
for (i=0;i<5;i++) {
ret = fread(&in_features[i*NB_FEATURES], sizeof(in_features[0]), NB_TOTAL_FEATURES, fin);
}
Expand Down

0 comments on commit 0f0be74

Please sign in to comment.