Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Buethe <jbuethe@amazon.de>2023-12-19 22:56:53 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-12-20 07:01:38 +0300
commitec44bd7e6dafc9564f929dc9b5a5748abe5f0e8d (patch)
treea2affb077c30d6b504b3828905855606a079bdea
parent1c6088203492e2b8e5408f05342a1c4b1114cffc (diff)
fix in export_model_weights.py
-rw-r--r--dnn/torch/osce/export_model_weights.py2
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}