Skip to content

Export YOLO with filters in new sdk #477

@pirnerjonas

Description

@pirnerjonas

Hi all,

I found https://github.com/HumanSignal/label-studio-sdk/blob/master/examples/export_with_filters.py which shows how you export annotations with filters but it uses the old version of the sdk from label_studio_sdk import Client.

The export example for the new sdk in the readme only shows this:

annotations = [
    task.annotations
    for task in ls.tasks.list(project=project.id, fields='all')
    if task.annotations
]

How is it possible to filter tasks and then export the tasks annotations to YOLO with the new sdk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions