Comments (1)
Looks like it's run out of memory.
Lines 16-21 of NeuralNetwork.cpp
m_tensor_arena = (uint8_t *)malloc(kArenaSize);
if (!m_tensor_arena)
{
TF_LITE_REPORT_ERROR(m_error_reporter, "Could not allocate arena");
return;
}
We're really on the edge of what's possible with stock ESP32 devices. Does your device support PSRAM? If it does then enabling that and making it available for malloc would really help.
Alternatively we'll have to look for ways of reducing the amount of memory being used. One of the problems is that making an HTTPS request uses up a lot of memory that does not get returned.
from diy-alexa.
Related Issues (20)
- how to implement the code to esp32 HOT 1
- Can you reuse pin for audio input and output ? HOT 3
- export tflite model to c++
- DIY Alexa not connecting to wifi HOT 1
- DIY Alexa not working
- DIY Alexa is not response HOT 6
- I CANT GET SOUND OUTPUT HOT 2
- Limitations to .WAV file? HOT 1
- INMP441 microphone issue
- Not an issue but more of a question on how to complie the code HOT 1
- detect wakeword process not working HOT 2
- cannot compile code HOT 1
- INMP441 not working HOT 5
- ADC-related compile errors when shifting to ESP32S3 HOT 5
- Tensorflow.io import gfile
- How to customize keyword on my dataset?
- How to custom Wake Word model ?
- Issue while running the Jupyter notebook Generate Training data HOT 1
- Program is resetting continuously HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diy-alexa.