From 0f0be749e6692787fbd4d62afdb544f8b3368424 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Thu, 12 Oct 2023 02:27:17 -0400 Subject: [PATCH] debug code --- dnn/lpcnet_demo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dnn/lpcnet_demo.c b/dnn/lpcnet_demo.c index 6e257f607..62d0ca287 100644 --- a/dnn/lpcnet_demo.c +++ b/dnn/lpcnet_demo.c @@ -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); }