I am currently working with esp32 cam, my model training and dataset are both on google colab, I could not find a way to stream my training data directly from google colab to edge impulse, any help will be appreciated
I guess you want to push some images right?
You can use the following code entries in your notebook:
To install Edge Impulse CLI:
!npm install -g --unsafe-perm edge-impulse-cli
And to push the data:
# Set your API Keys api_key = 'ei_55a76...your API KEY' # Your directory containing your data output_dir = './your-directory' # If you have one label per directory you can do: labels = ['label1', 'label2', 'label3'] for label in labels: sample_dir = output_dir + '/' + label + '/*.jpg' print("Uploading files from ", sample_dir) cmd = 'edge-impulse-uploader --api-key ' + api_key + ' --label ' + label + ' ' + sample_dir os.system(cmd) print("Done!");
Louis thank you so much, I will try it and see the outcome
Helli lious, I had it on the screen that the upload is successful, however I could not locate it on my edge impulse dashboard
output_dir = './content' instead of
I guess it should solve your issue
Hello, @louis I tried out the same thing from my Google Colab. It showed that the upload is successful. However, I cannot locate the dataset on my Edge Impulse dashboard
Also, in general, where will the dataset appear after it is uploaded?
Can you see your data in the Data acquisition page on the left menu?
If not can you make sure the API Key you used is the right one for your project? (Dashboard->Keys)
Hey! Thanks, I could figure it out. It works now!