Nano 33 BLE Sense: Gesture Classification Tutorial


I'm currently trying to get the Gesture Classification Tutorial from TensorFlow to work on my Nano (the one found in this blog
Creating and training the TF model works fine, as well as converting it and uploading it to the Nano. However, it seems like the setup method seen below does not fully execute.

void setup() {
  while (!Serial);

  // initialize the IMU
  if (!IMU.begin()) {
    Serial.println("Failed to initialize IMU!");
    while (1);

  // print out the samples rates of the IMUs
  Serial.print("Accelerometer sample rate = ");
  Serial.println(" Hz");
  Serial.print("Gyroscope sample rate = ");
  Serial.println(" Hz");


  // get the TFL representation of the model byte array
  tflModel = tflite::GetModel(model);
  if (tflModel->version() != TFLITE_SCHEMA_VERSION) {
    Serial.println("Model schema mismatch!");
    while (1);

  // Create an interpreter to run the model
  tflInterpreter = new tflite::MicroInterpreter(tflModel, tflOpsResolver, tensorArena, tensorArenaSize, &tflErrorReporter);

  // Allocate memory for the model's input and output tensors

  // Get pointers for the model's input and output tensors
  tflInputTensor = tflInterpreter->input(0);
  tflOutputTensor = tflInterpreter->output(0);

I inserted some println-Statements and by the looks of it, the step to create the interpreter is either never executed or does not work, because after that statement, the code does not continue. Is there any way to find out what is the problem there?

Thanks in advance!

I got the same problem did u found solution thank u