Garbage classification About esp32-cam and TensorFlowLite_ESP32

Hello everyone

I use the TensorFlowLite_ESP32 and train a model to judge garbage
I try a long time, now it can upload but I have new problem
serial monitor display the

13:19:52.961 -> Didn't find op for builtin opcode 'HARD_SWISH' version '1'. An older version of this builtin might be supported. Are you using an old TFLite binary with a newer model?
13:19:52.961 -> 

13:19:52.961 -> Failed to get registration from op code HARD_SWISH
13:19:53.007 ->  

13:19:53.007 -> ❌ 張量內存分配失敗!(fail)

the GPT say the psarm need enable ,I confirm the arduino tools
and type a code display the psram have work,
I try over and over but still can't fix
Is my model have error? or the something have crush
please have me my brain gonna broken HAHA

Arduino IDE 2.3.3

Arduino Cloud Editor:
TensorFlowLite_ESP32
TridentTD_Linenotify

boards manager use esp32 2.0.16

Garbage classification, you say? And ChatGPT was involved?

But seriously; the error message is asking a quite pertinent question. Have you investigated to see if it's accurate?

For that matter, what have you done to debug the problem?

my teacher and google and GPT
my classmate don't wnat solve this with me
and yep I serious use GPT.

i'm check it the esp32cam have psram
and it can work.
I check the model and train it again but can't work
thanks to your response

You MUST have PSRAM for the camera to work.

That depends on your selected image size / format. You can get away with just built-in RAM for smaller images.

I konw but my model so large I already Compressed archive to 1MB ,
use built-in RAM will over the size,I use the code show the psram have work but when I upload my code that's dosen't work

I use the code show the psram have work but when I upload my code that's dosen't work. I really have no idea..

Sorry, I have no idea what you are saying. I deal in source code and error logs all contained in code tags.
You may benefit from reading the pinned post re 'How to get the most from the forum'

1 Like

It's okay is my english have too bad HAHA
thanks you resipound and suggest!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.