Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
error in running tflite program
-
i get this stack error when i run my tflite program where the image size is set as 96*96.
-
Hi @karthi,
Please try increasing the
TFLM_TENSOR_ARENA_SIZE
in your example.Best Regards,
Kamil Tomaszewski -
i have increased the TFLM_TENSOR_ARENA_SIZE and the model is read into memory. But the image is not read into memory. how to find the stack size for the program
-
Hi @karthi,
You will find this in the
Makefile
of your example.If you are using IDE:
# Application stack memory size (Default: 2048) STACKSIZE =
To increase the stack size of your application in IDE, you just need to set a value here.
If you are using CLI:
STACKSIZE = $(CONFIG_EXAMPLES_TFLMRT_LENET_STACKSIZE)
To increase the stack size of your application in CLI:
- Run
make menuconfig
- Go to Application Configuration -> Spresense SDK -> Examples
- Find your application and change the stack size
- Select
<Save>
and<Exit>
- Build your app again
Best Regards,
Kamil Tomaszewski - Run
-