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
COM stuck after uploading IMU Classifier sketch? #23
Comments
I'm working on getting enough information to be able to investigate this issue in @KXCY-AI's Arduino Forum post about the same: Also posted at arduino/ArduinoCore-nRF528x-mbedos#106 |
Thanks per1234, the model runs well after downgrade to 1.1.6 |
We've hit the exact same problem. Adding some debugging with Arduino IDE version is 1.8.13 Arduino BLE 33 board support version is 1.1.6 Tensorflow library version is 2.1.0. ALPHA (IMU_Classifier failed to build against older versions) Hope this helps someone narrow down the problem! |
Just to update anyone else who is having this problem, after a lot of faff, we discovered that in MicroAllocator (called by MicroInterpreter instantiation), it checks the supplied arena is 16-byte aligned and errors out if it isn’t. The fix is to declare the arena like this:
(Although probably the real fix would be within the Arduino_TensorFlowLite Hope this helps :-3 |
I have the same problem when i run the classifier on nano33 BLE sense. |
Hi @ugmurthy. You can recover your board from the Mbed OS crash by:
Now you should be able to upload the sketch to your Arduino board. |
@per1234, Thanks very much. It worked! I struggled with the timing for a while but got. You saved my day. |
Yes that helps - the classifier works! thank you |
Both this and 16 bit alignment made the example finally perform as expected! |
New to Arduino, I follow with the Arduino TensorFlow Lite Tutorials and trained "GestureToEmoji" IMU Classifier model, which is deployed on BLE. It worked well previously, yet its stuck a serial monitor these day, after upload sketch to the board. Where I can figure out more information about it?
The text was updated successfully, but these errors were encountered: