eloquentarduino / EloquentTinyML

Eloquent interface to Tensorflow Lite for Microcontrollers
299 stars 57 forks source link

#if !defined(ESP32) #62

Closed screeck closed 11 months ago

screeck commented 1 year ago

I have downloaded EloquentTinyML 2.4.0 in Arduino IDE 2.0.3 and I get the error for the person detection. I'm using the ESP32-cam AiThinker.

include

include <eloquent_tinyml/tensorflow/person_detection.h>

if defined(ESP32)

include "ESP32Camera.h"

endif

c:\path_to_eloquent1\Arduino\libraries\EloquentTinyML\src\eloquent_tinyml\tensorflow\arm\tensorflow\lite\micro\tools\make\downloads\cmsis\CMSIS\NN\Source\ConvolutionFunctions\arm_convolve_1x1_HWC_q7_fast_nonsquare.c:1: fatal error: opening dependency file C:path_to_eloquent2\AppData\Local\Temp\arduino-sketch-xxx\libraries\EloquentTinyML\eloquent_tinyml\tensorflow\arm\tensorflow\lite\micro\tools\make\downloads\cmsis\CMSIS\NN\Source\ConvolutionFunctions\arm_convolve_1x1_HWC_q7_fast_nonsquare.c.d: No such file or directory

if !defined(ESP32)

compilation terminated. c:\path_to_eloquent1\Arduino\libraries\EloquentTinyML\src\eloquent_tinyml\tensorflow\arm\tensorflow\lite\micro\tools\make\downloads\cmsis\CMSIS\NN\Source\ConvolutionFunctions\arm_convolve_HWC_q7_basic_nonsquare.c:1: fatal error: opening dependency file C:\path_to_eloquent2\AppData\Local\Temp\arduino-sketch-xxxx\libraries\EloquentTinyML\eloquent_tinyml\tensorflow\arm\tensorflow\lite\micro\tools\make\downloads\cmsis\CMSIS\NN\Source\ConvolutionFunctions\arm_convolve_HWC_q7_basic_nonsquare.c.d: No such file or directory

if !defined(ESP32)

compilation terminated. c:\path_to_eloquent1\Documents\Arduino\libraries\EloquentTinyML\src\eloquent_tinyml\tensorflow\arm\tensorflow\lite\micro\tools\make\downloads\cmsis\CMSIS\NN\Source\ConvolutionFunctions\arm_convolve_HWC_q15_fast_nonsquare.c:1: fatal error: opening dependency file C:\path_to_eloquent2\AppData\Local\Temp\arduino-sketch-xxxx\libraries\EloquentTinyML\eloquent_tinyml\tensorflow\arm\tensorflow\lite\micro\tools\make\downloads\cmsis\CMSIS\NN\Source\ConvolutionFunctions\arm_convolve_HWC_q15_fast_nonsquare.c.d: No such file or directory

if !defined(ESP32)

223222981 commented 1 year ago

+1

MM-112211 commented 1 year ago

+1 I found a thread from a while back about this issue: https://github.com/eloquentarduino/EloquentTinyML/issues/37 This did it for me: https://github.com/eloquentarduino/EloquentTinyML/issues/37#issuecomment-1038783452

eloquentarduino commented 11 months ago

Please use my new library specifically for ESP32: https://github.com/eloquentarduino/EloquentTensorFlow32 It should be more up-to-date.