Coder Social home page Coder Social logo

Comments (9)

eloquentarduino avatar eloquentarduino commented on September 17, 2024

Can you make it work with other boards? Just select "ESP32 Dev Module" for example.

from eloquenttinyml.

embedragx avatar embedragx commented on September 17, 2024

In file included from C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master\src\tensorflow\lite\micro\kernels\svdf.cpp:25:
C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master\src/tensorflow/lite/micro/kernels/activation_utils.h: In function 'float tflite::ops::micro::ActivationValFloat(TfLiteFusedActivation, float)':
C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master\src/tensorflow/lite/micro/kernels/activation_utils.h:53:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master\src\tensorflow\lite\micro\kernels\svdf.cpp: In function 'TfLiteStatus tflite::ops::micro::svdf::Eval(TfLiteContext*, TfLiteNode*)':
C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master\src\tensorflow\lite\micro\kernels\svdf.cpp:558:1: error: insn does not satisfy its constraints:
}
^
(insn 45 1406 1640 111 (set (reg:SF 19 f0 [orig:198 _248 ] [198])
(mem/u/c:SF (symbol_ref/u:SI ("*.LC101") [flags 0x2]) [0 S4 A32])) "C:\Users\raghu\Documents\Arduino\libraries\EloquentTinyML-master\src/tensorflow/lite/micro/kernels/activation_utils.h":44 47 {movsf_internal}
(expr_list:REG_EQUAL (const_double:SF 6.0e+0 [0x0.cp+3])
(nil)))
during RTL pass: postreload
C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master\src\tensorflow\lite\micro\kernels\svdf.cpp:558:1: internal compiler error: in extract_constrain_insn, at recog.c:2210
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
Using library EloquentTinyML-master at version 0.0.10 in folder: C:\Users...\Documents\Arduino\libraries\EloquentTinyML-master
exit status 1
Error compiling for board ESP32 Dev Module.

Same Error ....

from eloquenttinyml.

eloquentarduino avatar eloquentarduino commented on September 17, 2024

Try to delete the EloquentTinyML-master folder from the Arduino\libraries folder and install the library via Arduino IDE library manager.

from eloquenttinyml.

arnaudonate avatar arnaudonate commented on September 17, 2024

I have a similar issue, I'm trying to compile it for "ESP32 Dev Module", I tried uncommenting the min/max but the error is the following:

In file included from C:\Users\...\libraries\EloquentTinyML-master\src\tensorflow\lite\micro\kernels\svdf.cpp:25:0:

C:\Users\...\libraries\EloquentTinyML-master\src/tensorflow/lite/micro/kernels/activation_utils.h: In function 'float tflite::ops::micro::ActivationValFloat(TfLiteFusedActivation, float)':

C:\Users\...\libraries\EloquentTinyML-master\src/tensorflow/lite/micro/kernels/activation_utils.h:53:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus.exe: some warnings being treated as errors
exit status 1
Error compiling for board ESP32 Dev Module.

I'm just trying to upload the example files for the SineExample.ino, hope you can help as I already followed your recommendations here in the thread and doesn't work yet

from eloquenttinyml.

eloquentarduino avatar eloquentarduino commented on September 17, 2024

I can confirm it worked on "ESP32 Dev Module" since I used it in my own development.
I will take time to look at those files that gives you error. Can you please confirm which core are you using for the ESP32?

from eloquenttinyml.

arnaudonate avatar arnaudonate commented on September 17, 2024

Sure, thanks for the quick reply!

I'm usign the ESP32-WROOM-32 (On an AZDelivery dev board), I've had some issues in the past with the BUILTIN_LED, I usually need to write pin 1 directly otherwise it won't work. Not sure if that can be related at all, hope it can bring some light into the matter.

Thank you for your help!

from eloquenttinyml.

eloquentarduino avatar eloquentarduino commented on September 17, 2024

I updated the library. Please install from Github since I didn't published on the Arduino Library Manager yet since I made a major update and need to test yet.

from eloquenttinyml.

arnaudonate avatar arnaudonate commented on September 17, 2024

Thank you so much! I will tets it now :) This is very helpful!

from eloquenttinyml.

embedragx avatar embedragx commented on September 17, 2024

I will try it soon.

And thnx for the effort 👍

from eloquenttinyml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.