diff options
author | Jan Buethe <jbuethe@amazon.de> | 2023-12-19 22:56:53 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-12-20 07:01:38 +0300 |
commit | ec44bd7e6dafc9564f929dc9b5a5748abe5f0e8d (patch) | |
tree | a2affb077c30d6b504b3828905855606a079bdea | |
parent | 1c6088203492e2b8e5408f05342a1c4b1114cffc (diff) |
fix in export_model_weights.py
-rw-r--r-- | dnn/torch/osce/export_model_weights.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dnn/torch/osce/export_model_weights.py b/dnn/torch/osce/export_model_weights.py index a16c6d59..f94431d3 100644 --- a/dnn/torch/osce/export_model_weights.py +++ b/dnn/torch/osce/export_model_weights.py @@ -147,7 +147,7 @@ if __name__ == "__main__": # Add custom includes and global parameters cwriter.header.write(f''' -#define {model_name.upper()}_PREEMPH {model.preemph} +#define {model_name.upper()}_PREEMPH {model.preemph}f #define {model_name.upper()}_FRAME_SIZE {model.FRAME_SIZE} #define {model_name.upper()}_OVERLAP_SIZE 40 #define {model_name.upper()}_NUM_FEATURES {model.num_features} |