Annotation export empty labels list

Hello,

I tried to export annotations using the python SDK but for some data row (10% of them) the “labels” list is empty but the annotation exists on Labelbox. Even using the UI export the label is empty. This is strange since it works well for most of the data rows.

export_params= {
  "attachments": False,
  "metadata_fields": False,
  "data_row_details": True,
  "project_details": False,
  "label_details": True,
  "performance_details": False,
  "interpolated_frames": False,
}

filters= {
  "global_keys": ["clip_00000583_face_00000001_start_00006469_end_00006677"]
}

export_task = project.export(params=export_params, filters=filters)
export_task.wait_till_done()

# Stream results and errors
if export_task.has_errors():
    export_task.get_buffered_stream(stream_type=labelbox.StreamType.ERRORS).start(
        stream_handler=lambda error: print(error))

if export_task.has_result():
    export_json = [data_row.json for data_row in export_task.get_buffered_stream()]

Resulting

"projects": {
        "<project id>": {
            "name": "<project name>",
            "labels": [],
            "project_tags": []
        }
    }

Hi @P_pan,

Can you share the project ID and your version of the Labelbox SDK, please?
Have you always seen this behaviour in this project, or did it start recently?

Thanks,

Paul N.

Hi Paul,

I am using Labelbox 6.5.0, and the project ID of the example is cm04ybftt01qw070yfi0o9c2d. I haven’t experienced such a problem in the past. To give you more context, the annotator had to review the pre-annotation on videos. There is both frame classification and one global classification. Out of 199 videos, around 20 don’t contain any annotation at export time while having annotation on the Labelbox web app ( at least the global classification ).
Thanks

Thanks for the additional data @P_pan!
We are going to review the project and we’ll update this thread.

Best,

Paul N.

Hello @P_pan,

Thanks for the clarification!

Can you please provide the data row IDs of the 20 or so data rows that don’t contain labels?

Best,
Tarishi
Labelbox Support

Hello,

Here is the list of the 21 empty labels.

[‘clz1j609l1bud0747iatodt7d’, ‘clz1j60b01bum0747tw06c2oj’, ‘clz1j60ct1buy07478ttiowwj’, ‘clz1j60d51bv00747f89lu1kx’, ‘clz1j60mq1bwl0747oknjdefc’, ‘clz1j60ne1bwp0747cajkv0h6’, ‘clz1j60np1bwr0747wjy8h1t4’, ‘clz1j60o51bwu0747kr6bhrjo’, ‘clz1j60p01bwz07477lw42tge’, ‘clz1j60q71bx7074779p2g3q4’, ‘clz1j60ul1by00747ur4ex8zy’, ‘clz1j60w21bya0747etwjeaw6’, ‘clz1j60wy1byg07475zhp94i0’, ‘clz1j60xg1byj0747hdgy6j8b’, ‘clz1j60xt1byl0747m4v4t4bm’, ‘clz1j614r1bzr0747zk6xvrev’, ‘clz1j61611bzy0747t77yj4my’, ‘clz1j617h1c0607472bjvahsa’, ‘clz1j617u1c0807470m97183x’, ‘clz1j61bo1c0u0747l81l74mp’, ‘clz1j61c51c0x074760qccfz1’]

1 Like

Thanks @P_pan
I’m looking into this issue. Will get back soon with an update.

Hello @P_pan,

We have raised a ticket for this request. You should have received an email for the same. Please let me know if you have access to the ticket.

1 Like