Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOIP例程开启NSNET后运行报错E (42821) MODEL_LOADER: Can not find model in partition table (AUD-5702) #1275

Open
52blingbling opened this issue Sep 14, 2024 · 2 comments

Comments

@52blingbling
Copy link

  • Audio development kit: ESP32-S3-Korvo-2
  • Audio kit version (for ESP32-LyraT/ESP32-LyraT-Mini/ESP32-S3-Korvo-2): v3
  • [Required] IDF version (run git describe --tags in $IDF_PATH folder to find it):
    // v5.2
  • [Required] ADF version (run git describe --tags in $ADF_PATH folder to find it):
    // master

运行VoIP例程后,开启NS在不讲话时,仍能从手机扬声器端听到些许微弱的杂音(环境噪音不算大,就正常微弱环境音),算法上能不能做到不讲话时连杂音都没有?我想开启NSNET试试效果,结果运行后报错
E (42821) MODEL_LOADER: Can not find model in partition table
E (42828) ALGORITHM_STREAM: Failed to load models
E (42833) ALGORITHM_STREAM: algorithm_stream.c:388 (algo_stream_init): Got NULL Pointer
E (42842) ALGORITHM_STREAM: Error occured

@github-actions github-actions bot changed the title VOIP例程开启NSNET后运行报错E (42821) MODEL_LOADER: Can not find model in partition table VOIP例程开启NSNET后运行报错E (42821) MODEL_LOADER: Can not find model in partition table (AUD-5702) Sep 14, 2024
@52blingbling
Copy link
Author

我发现是partitions_voip_example.csv里没有
model | data | spiffs |   | 5168K这一项,但添加后会报错,I (31249) MODEL_LOADER: The storage free size is 3776 KB
I (31255) MODEL_LOADER: The partition size is 5168KB
ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x42071dfe
0x42071dfe: srmodel_mmap_init at E:/esp/esp-adf/components/esp-sr/src/model_path.c:349 (discriminator 1)

@hbler99
Copy link

hbler99 commented Oct 14, 2024

I (31249) MODEL_LOADER: The storage free size is 3776 KB I (31255) MODEL_LOADER: The partition size is 5168KB 这段说明你size设定的太大了,剩余内存只有3776 KB但你设定了5168KB,可以改小点再试一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants