label-studio-sdk
label-studio-sdk copied to clipboard
Export YOLO with filters in new sdk
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?