The uploader signs local files and uploads them to the ingestion service. This is useful to upload existing data sets, or to migrate data between Edge Impulse instances. The uploader currently handles these type of files:
.cbor- Files in the Edge Impulse Data Acquisition format. The uploader will not resign these files, only upload them.
.json- Files in the Edge Impulse Data Acquisition format. The uploader will not resign these files, only upload them.
.wav- Lossless audio files. It's recommended to use the same frequency for all files in your data set, as signal processing output might be dependent on the frequency.
You upload files via:
$ edge-impulse-uploader path/to/a/file.wav
You can upload multiple files in one go via:
$ edge-impulse-uploader path/to/many/*.wav
The first time you'll be prompted for a server, and your login credentials (see Edge Impulse Daemon for more information).
Files are automatically uploaded to the
training category, but you can override the category with the
--category option. E.g.:
$ edge-impulse-uploader --category training path/to/a/file.wav
A label is automatically infered from the file name, see the Ingestion service documentation. You can override this with the
--label option. E.g.:
$ edge-impulse-uploader --label noise path/to/a/file.wav
To clear the configuration, run:
$ edge-impulse-uploader --clean
This resets the uploader configuration and will prompt you to log in again.
Updated about a month ago