Open shivashankarivr opened 3 years ago
I just checked, and the nucleo-l476-keyword-spotting project builds fine on STM32CubeIDE 1.6.0 for me. Which version of STM32CubeIDE are you using? Which project are you attempting to build? Did you make any modifications to the project?
hi, am also using Stm32CubeIde 1.6.0. I am using the SensorTile box board(STEVAL-MKSBOX1V1).
I have not tried any of this with the SensorTile, so I don't know if it will work. Did you make any modifications to the code?
No, I didnt change anything in the code. I just copied all the C codes whereever you have added into the code.
On Mon, Sep 27, 2021, 9:46 PM Shawn Hymel @.***> wrote:
I have not tried any of this with the SensorTile, so I don't know if it will work. Did you make any modifications to the code?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShawnHymel/ei-keyword-spotting/issues/4#issuecomment-928039329, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATBC6U55RZXRLMOJXMMA6CDUECKE7ANCNFSM5EN2JBFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
It looks like the build system can't find some of the libraries (such as the edge-impulse-sdk directory). If you're just copying and pasting code, that won't work. You need to import the whole project (or at the very least, import the required libraries, like edge-impulse-sdk). I'm not sure what "EdgeImpulse-Magikword-yes-no" is...that's not a directory in any of the example projects in this repo.
Ok sir, If I use your edge impulse llibrary and I will do change only the board, since I have Sensortile box. Like this can I try?
On Tue, Sep 28, 2021, 7:19 AM Shawn Hymel @.***> wrote:
It looks like the build system can't find some of the libraries (such as the edge-impulse-sdk directory). If you're just copying and pasting code, that won't work. You need to import the whole project (or at the very least, import the required libraries, like edge-impulse-sdk). I'm not sure what "EdgeImpulse-Magikword-yes-no" is...that's not a directory in any of the example projects in this repo.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShawnHymel/ei-keyword-spotting/issues/4#issuecomment-928598063, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATBC6UZWCX7IZLYS2KOXWW3UEENJVANCNFSM5EN2JBFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
There are a lot of changes you'll need to make, as none of my projects were created for the SensorTile, and the microphone on the SensorTile PDM (whereas I used I2S in my examples).
I do not have a complete tutorial on how to port the keyword spotting demos to different boards, but this section in the README should give you an idea on how to start: https://github.com/ShawnHymel/ei-keyword-spotting#importing-the-edge-impulse-library-into-your-own-build-system
I really thanks a lot for your reply sir
I have done the below steps. I created edge impulse c++ library also o created separately c++ code from stm32cube IDE for sensor tile box. I imported both edge impulse library and sesortile code into my workspace.
One thing i did was i copied all c code from urs amd copied in mine.
Now, I have 1 last doubt. If i change code in PDM,will it work sir?
On Wed, Sep 29, 2021, 12:09 AM Shawn Hymel @.***> wrote:
There are a lot of changes you'll need to make, as none of my projects were created for the SensorTile, and the microphone on the SensorTile PDM (whereas I used I2S in my examples).
I do not have a complete tutorial on how to port the keyword spotting demos to different boards, but this section in the README should give you an idea on how to start: https://github.com/ShawnHymel/ei-keyword-spotting#importing-the-edge-impulse-library-into-your-own-build-system
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShawnHymel/ei-keyword-spotting/issues/4#issuecomment-929523502, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATBC6U5JVIJTBRKTUORREITUEIDUVANCNFSM5EN2JBFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I'm not sure if it will work--I have not tried to use a PDM microphone with this model nor have I tried running the model on a SensorTile. I recommend seeing if you can get inference to work with a static set of features (e.g. numerical array of raw audio values) before working on streaming audio from the PDM microphone.
Hi, am getting the following errors when I try to build the code.
Description Resource Path Location Type fatal error: edge-impulse-sdk/tensorflow/lite/c/builtin_op_data.h: No such file or directory trained_model_compiled.cpp /EdgeImpulse-Magikword-yes-no/ei-keyword-spotting/tflite-model line 26 C/C++ Problem fatal error: tensorflow/lite/micro/memory_planner/greedy_memory_planner.h: No such file or directory greedy_memory_planner.cc /EdgeImpulse-Magikword-yes-no/ei-keyword-spotting/edge-impulse-sdk/tensorflow/lite/micro/memory_planner line 16 C/C++ Problem fatal error: tensorflow/lite/micro/memory_planner/linear_memory_planner.h: No such file or directory linear_memory_planner.cc /EdgeImpulse-Magikword-yes-no/ei-keyword-spotting/edge-impulse-sdk/tensorflow/lite/micro/memory_planner line 16 C/C++ Problem make: [ei-keyword-spotting/edge-impulse-sdk/tensorflow/lite/micro/memory_planner/subdir.mk:22: ei-keyword-spotting/edge-impulse-sdk/tensorflow/lite/micro/memory_planner/greedy_memory_planner.o] Error 1 EdgeImpulse-Magikword-yes-no C/C++ Problem make: [ei-keyword-spotting/edge-impulse-sdk/tensorflow/lite/micro/memory_planner/subdir.mk:24: ei-keyword-spotting/edge-impulse-sdk/tensorflow/lite/micro/memory_planner/linear_memory_planner.o] Error 1 EdgeImpulse-Magikword-yes-no C/C++ Problem make: [ei-keyword-spotting/tflite-model/subdir.mk:19: ei-keyword-spotting/tflite-model/trained_model_compiled.o] Error 1 EdgeImpulse-Magikword-yes-no C/C++ Problem make: Waiting for unfinished jobs.... EdgeImpulse-Magikword-yes-no C/C++ Problem