Thanks @BlueSkB, removing the const static output in export_onnx_model.py solves the problem.
Best regards
Search found 3 matches
- Sat Feb 10, 2024 7:30 am
- Forum: ESP-WHO
- Topic: ESP32-S3 TVM Example crash after 1st inference
- Replies: 5
- Views: 9485
- Sun Jan 28, 2024 1:29 pm
- Forum: ESP-WHO
- Topic: ESP32-S3 TVM Example crash after 1st inference
- Replies: 5
- Views: 9485
Re: ESP32-S3 TVM Example crash after 1st inference
I would like to add that, after some debug printouts, I can see that the 2nd inference iteration freezes at the function call below:
esp_dl_nn_conv2d_s8_wrapper, which is called by tvmgen_default_esp_main_8 within default_lib1.c
esp_dl_nn_conv2d_s8_wrapper, which is called by tvmgen_default_esp_main_8 within default_lib1.c
- Sun Jan 28, 2024 8:07 am
- Forum: ESP-WHO
- Topic: ESP32-S3 TVM Example crash after 1st inference
- Replies: 5
- Views: 9485
ESP32-S3 TVM Example crash after 1st inference
I'm trying to run the sample model.onnx provided in esp-who/components/esp-dl/tutorial/tvm_example/model.onnx using esp-who/components/esp-dl/tutorial/tvm_example/script.sh Quantization, TVM code generation and deployment are all fine. However, I cannot run the inference loop more than once for some...