Info.labels error for audio dataset

Question/Issue:
The data uploader keeps asking for label even when end of file index is reached

Project ID:
773182

Context/Use case:
About info.labels for multi-label type

Summary:
The ei data uploader is unable to upload data after reading the info.label file. The data file has exactly end of index of 5000 but uploader keep asking for label for 5001.

Steps to Reproduce:

  1. Go to Data Acquisition
  2. Click add data, select upload data
  3. Select upload folder with info.label, confirm upload and click upload data

Expected Results:
To upload the data based on the info.label information

Actual Results:
Uploader provides following error

"Uploading 1 file…
[1/1] Failed to upload scream_S1_L1_SS_patch_1.wav: structuredLabels: index 5001 does not have a label. Currently we require structured labels for the complete sample, there cannot be any gaps in the labels.

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

Job completed. No files were uploaded successfully.

Reproducibility:

  • [/] Always
  • [ ] Sometimes
  • [ ] Rarely

Additional Information:

Example of the info.label used shown below

{
“version”: 1,
“files”: [
{
“path”: “scream_S1_L1_SS_patch_1.wav”,
“category”: “split”,
“label”: {
“type”: “multi-label”,
“labels”: [
{
“label”: “non_scream”,
“startIndex”: 0,
“endIndex”: 2232
},
{
“label”: “scream”,
“startIndex”: 2233,
“endIndex”: 2270
},
{
“label”: “non_scream”,
“startIndex”: 2271,
“endIndex”: 5000
}
]
},
“metadata”: {}
}
]
}

Hi @hengko - welcome to the forum!

I took a quick look and it appears that you have things configured correctly. I’ll reach out to the rest of the team and see if they have any additional insights.

I looked at your project, where you have data uploaded as single label samples, but couldn’t find the sample that was failing, scream_S1_L1_SS_patch_1.wav. Can you upload that file to your project as a single label sample?