From 904a876dce1f9ab8860c0a5000ed151f9f6eef58 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Sun, 14 Apr 2024 21:07:37 -0400 Subject: [PATCH] Add "little" model --- README | 7 +++++++ model_version | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README b/README index 09a81133..0a780dac 100644 --- a/README +++ b/README @@ -111,3 +111,10 @@ be closed. To avoid including the default model in the build (e.g. to reduce download size) and rely only on model loading, add -DUSE_WEIGHTS_FILE to the CFLAGS. +To be able to load different models, the model size (and header file) needs +to patch the size use during build. Otherwise the model will not load +We provide a "little" model with half as an alternative. To use the smaller +model, rename rnnoise_data_little.c to rnnoise_data.c. It is possible +to build both the regular and little binary weights and load any of them +at run time since the little model has the same size as the regular one +(except for the increased sparsity). diff --git a/model_version b/model_version index b99388ac..0f9d909c 100644 --- a/model_version +++ b/model_version @@ -1 +1 @@ -2828242 +0b50c45