Upload data issue

Question/Issue:
Problem with upload data.

Project ID:
[Provide the project ID]

Context/Use case:
When trying to add data to a new project I select the folder which contains the data, it says it is going to upload the data and then says it is finished with 0 errors and 0 uploaded files.

Summary:
Uploading folders isn’t working.

Steps to Reproduce:

  1. Select Project.
  2. Select Data Acquisition.
  3. Select “Add Data +” button.
  4. Click “Upload Data”
  5. Set Upload mode to “Select a folder”
  6. Set Upload into Category to “Training”
  7. Set Label to “Leave data unlabeled”
  8. Click “Choose files” button.
  9. Navigate to folder on local machine.
  10. Click “Upload” button.
  11. Click “Upload” button to confirm, this is where it shows the correct file count.
  12. Click “Upload data” button.

Expected Results:
I expected it to spend many minutes uploading the 5760 files.

Actual Results:
It displayed this output:
Uploading 5760 files…

Done. Files uploaded successful: 0. Files that failed to upload: 0.

Job completed. No files were uploaded successfully.

Reproducibility:

  • [X] Always
  • [ ] Sometimes
  • [ ] Rarely

Environment:

  • Platform: [e.g., Raspberry Pi, nRF9160 DK, etc.]
  • Build Environment Details: [e.g., Arduino IDE 1.8.19 ESP32 Core for Arduino 2.0.4]
  • OS Version: [e.g., Ubuntu 20.04, Windows 10]
  • Edge Impulse Version (Firmware): [e.g., 1.2.3]
    To find out Edge Impulse Version:
  • if you have pre-compiled firmware: run edge-impulse-run-impulse --raw and type AT+INFO. Look for Edge Impulse version in the output.
  • if you have a library deployment: inside the unarchived deployment, open model-parameters/model_metadata.h and look for EI_STUDIO_VERSION_MAJOR, EI_STUDIO_VERSION_MINOR, EI_STUDIO_VERSION_PATCH
  • Edge Impulse CLI Version: [e.g., 1.5.0]
  • Project Version: [e.g., 1.0.0]
  • Custom Blocks / Impulse Configuration: [Describe custom blocks used or impulse configuration]
    Logs/Attachments:
    [Include any logs or screenshots that may help in diagnosing the issue]

Logs/Attachments:
[Include any logs or screenshots that may help in diagnosing the issue]

Additional Information:
I tried reducing the data set 1440 files to see if that would allow it to work, but it didn’t.

It appears to not like something in my info.labels file. If I upload the data without the info.labels file present it will load the 1440 image files.

I will look at my info.labels file to track this down.

I figured out my problem. I had an issue with the file names.

Hi, can you please share what you’ve changed? I also have the same problem, tries different file names, but still receive the following:

Uploading 1 file…
[1/1] Failed to upload p1.jpg: Load failed

Done. Files uploaded successful: 0. Files that failed to upload: 1.

Job completed. No files were uploaded successfully.

The info.labels file that I had created had file names in it that included part of the path. The partial path was correct if I had kept the info.labels file in the parent directory, however when I moved it to the same directory as the files is was no longer correct.

The info.labels file had path names like this:
“path”: “training/image-1.png”

However, they should have been like this:
“path”: “image-1.png”

1 Like