arduino / ArduinoTensorFlowLiteTutorials

252 stars 117 forks source link

tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h: No such file or directory #15

Closed wallanoo closed 4 years ago

wallanoo commented 4 years ago

When I upload the IMU_Classifier to the Arduino nano 33 sense BLE I obtain this error:

tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h: No such file or directory

I have the Arduino_Tensorflowlite library 2.1.0-Alpha precompiled installed..

wallanoo commented 4 years ago

I found libraries in tensorflow/lite/micro

myominhtet commented 3 years ago

how get that. I tried but still got error

jintolonappan commented 3 years ago

@myominhtet You may need to change such lines to:

#include "tensorflow/lite/micro/all_ops_resolver.h"
#include "tensorflow/lite/micro/micro_error_reporter.h"
#include "tensorflow/lite/micro/micro_interpreter.h"
#include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
pdp7 commented 3 years ago

I ran into this as well.

I had to remove 'experimental' from the paths:

#include <tensorflow/lite/micro/all_ops_resolver.h>
#include <tensorflow/lite/micro/micro_error_reporter.h>
#include <tensorflow/lite/micro/micro_interpreter.h>