Python error when building to Arduino without EON Compiler

When building for Arduino without EON I see this in the build output:

Creating job… OK (ID: 2064742)

Writing templates…
Writing templates OK

Job started
Copying Edge Impulse SDK…
Copying Edge Impulse SDK OK

Exporting TensorFlow Lite model…
Found operators [‘Add’, ‘Conv2D’, ‘DepthwiseConv2D’, ‘FullyConnected’, ‘Reshape’, ‘Softmax’, ‘Pad’]
/usr/local/lib/python3.8/dist-packages/numpy/ma/core.py:4466: SyntaxWarning: “is” with a literal. Did you mean “==”?
if self.shape is ():
Exporting TensorFlow Lite model OK

Removing clutter and updating headers…
Removing clutter and updating headers OK

Creating archive…
Creating archive OK

Job completed

Hi @andreas.bomholtz,

Does this prevent you from downloading the Arduino lib? Also, can you please send your project ID?

Thanks!

No I can still download the code, but I’m just not sure if it works correctly or not.

The Project ID is 77234

Hi @andreas.bomholtz,

Thanks for that info! I have alerted our engineering team of the issue. Thankfully, it is just a Python3.8 warning and not an issue with the Arduino Edge Impulse SDK build, so you should be able to use your downloaded library just fine. Here’s some more information about the warning if you’re curious: https://adamj.eu/tech/2020/01/21/why-does-python-3-8-syntaxwarning-for-is-literal/

We’ll get this fixed asap.

Thanks!