Issue Uploading Numpy Data

Hello everyone,

I’m trying to classify some data using Edge Impulse, and my dataset is in Numpy format with the shape (27000, 1024, 2, 1) where:

  • 27,000 is the number of samples
    However, I encounter an issue when uploading the data using the Python SDK. The upload fails with this shape. But when I reshape the data to (27000, 1024, 2) (removing the last dimension), I can upload the data successfully.

Does anyone know why the upload fails with the (27000, 1024, 2, 1) shape? Any insights or solutions would be greatly appreciated!

Target Hardware: AKD1000

Thanks in advance!

Rashedul

I got my answer. NumPy arrays must maintain a shape.

1 Like

Hello @Rashedul,

Thanks for sharing.

Best,

Louis

1 Like