Comments (9)
Can you make it work with other boards? Just select "ESP32 Dev Module" for example.
from eloquenttinyml.
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.
Try to delete the EloquentTinyML-master folder from the Arduino\libraries folder and install the library via Arduino IDE library manager.
from eloquenttinyml.
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.
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.
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.
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.
Thank you so much! I will tets it now :) This is very helpful!
from eloquenttinyml.
I will try it soon.
And thnx for the effort 👍
from eloquenttinyml.
Related Issues (20)
- Didn't find op for builtin opcode 'CONV_2D' version '5' Failed to get registration from op code d HOT 9
- predict function predict(input, output) supports either int/int or float/float.? HOT 5
- Update Platform.IO
- Files dependencies Arduino IDE 2.0.3 issue HOT 1
- Once model is loaded (ml.begin()), the HTTP client doesn't send request.
- TfLite' in namespace 'Eloquent::TinyML' does not name a template type HOT 4
- There is a problem with this program code, sir. EloquentTinyML/examples/2.4/PersonDetection/PersonDetection.ino HOT 2
- Does tensorflow need to know how the network is built? HOT 1
- FullyConnected Layers not Available in MutableTensorFlow HOT 1
- #if !defined(ESP32) HOT 3
- Compability Issues: Didn't find op for builtin opcode 'DEPTHWISE_CONV_2D' version '1' (Possibililty to integrate newer version?) HOT 1
- Support for STM H743 HOT 1
- Feature Request: Camera support for new Seeedstudio $14 XIAO-Esp32S3 HOT 1
- error: use of deleted function 'virtual Eloquent::TinyML::TensorFlow::AllOpsResolver HOT 1
- Feature request : ESP-NN in EloquentTinyML HOT 3
- Error compiling for Teensy 4.1 HOT 7
- Compatibility issue: Didn't find op for builtin opcode 'SHAPE' version '1' while allocating tensors HOT 1
- Compilation Error with EloquentTinyML Library on ESP32 DevKit V1 HOT 1
- What the meaning of TF_NUM_OPS ? HOT 8
- Error when trying to run tflite model on Arduino Nano 33 BLE sense
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eloquenttinyml.