Bug
When executing teachable machine example 'tiny image' in order to do inference on a Arduino nano 33 BLE, the model exported is way too large and a linker error occurs.
Error:
linker_script.ld: 138 cannot move location counter backwards (from 200532b8 to 2003fc00)
Error linking for board Arduino Nano 33 BLE(nano33ble)
Build failed for project 'tm_template_script'
collect2.exe*: error: ld returned 1 exit status
Steps to reproduce the behavior
(prerequisite: Arduino library 'Arduino_tensorFlow_Lite' installed on PC)
execute teachable machine example 'https://teachablemachine.withgoogle.com/train/tiny_image' in order to do inference on a Arduino nano 33 BLE.
create 2 classes, for each class record 8 seconds of video with the webcam.
train model
export model: select "TensorFlow Lite for MicroControllers"
Bug When executing teachable machine example 'tiny image' in order to do inference on a Arduino nano 33 BLE, the model exported is way too large and a linker error occurs. Error: linker_script.ld: 138 cannot move location counter backwards (from 200532b8 to 2003fc00) Error linking for board Arduino Nano 33 BLE(nano33ble) Build failed for project 'tm_template_script' collect2.exe*: error: ld returned 1 exit status
Steps to reproduce the behavior (prerequisite: Arduino library 'Arduino_tensorFlow_Lite' installed on PC) execute teachable machine example 'https://teachablemachine.withgoogle.com/train/tiny_image' in order to do inference on a Arduino nano 33 BLE.
Link to code to reproduce bug https://teachablemachine.withgoogle.com/train/tiny_image : the teachable machine scenario https://github.com/tensorflow/tflite-micro-arduino-examples : the Arduino library library to install https://github.com/googlecreativelab/teachablemachine-community/blob/master/snippets/markdown/tiny_image/GettingStarted.md : teachable machine starting guide
Expected behavior No linker error (model size adapted to intended microcontroller, which is the Arduino nano 33 BLE)
Screenshots Executing the scenario: The Arduino project:
Desktop (please complete the following information):
Smartphone (please complete the following information): (not applicable)
I would appreciate help on this (possibly a workaround). Thanks.