Upon popular request we've added support for importing CSV data into Edge Impulse through both the upload functionality in the Studio (in your project go to Data acquisition, and select the ‘upload’ icon), and in the Edge Impulse CLI. This makes it trivial to bring existing sensor data into Edge Impulse, without the need to convert your data into the Edge Impulse Data Acquisition format yourself.
Here is one of the original discussions before CSV was supported. perhaps it will help.
CSV should be a huge help with data uploading. I also will have to try it out to understand it. The first part that confused me originally was the idea that each label entry was it’s own CSV file, or old JSON file. Once I got over that most of it made sense. Say if I am writing a “B” with an accelerometer. I would have many x,y,z entries for every time I tried that one label.
Would I have a separate CSV file for each instance of a given classification?
For example, in the case of an object recognition model, I upload many images of one label, many images of another label, etc.
So if I wanted to import a CSV of accelerometer data, would I want to break up the raw CSV into smaller samples of every occurrence of a certain movement?
Hi @avielbr that would work. If you want to detect events (e.g. someone hitting a device) you can also just upload a long sample, then click the three dots => Split sample and it will autodetect the events. See https://www.edgeimpulse.com/blog/crop-split-data/
Looked at it, and you need to remove trailing empty lines, then it’ll go through. I’ll push a hotfix to the CLI (v1.13.6) and the Studio today! Thanks for the report.
This is great but maybe i am missing something i want to use this along with the new regression block. Now i have 6 months of data 4 sensors reading every 5 minutes in a sql db that i can easily export as a single csv but from reading the details it looks like a need to create a csv for each set of readings (43000 files) is that correct or am i missing something here. i want to be able to predict several days ahead or at least try
Hi, thankyou, i see so basically take my csv and use python to chop it up and send json files. i assume all the libraries you are using work in windows (anaconda) even though its says linux sdk?