Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

There was a problem exporting the yolov5 dataset/ but when i export the yolov3/4 dataset is normal / happend when i using Object Detection with Bounding Boxes #293

@xiaocaof

Description

@xiaocaof

Traceback (most recent call last):

File "/root/anaconda3/envs/label-studio/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch

response = handler(request, *args, **kwargs)

File "/root/anaconda3/envs/label-studio/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper

return bound_method(*args, **kwargs)

File "/root/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/data_export/api.py", line 200, in get

export_stream, content_type, filename = DataExport.generate_export_file(

File "/root/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio/data_export/models.py", line 161, in generate_export_file

converter.convert(input_json, tmp_dir, output_format, is_dir=False)

File "/root/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio_converter/converter.py", line 285, in convert

self.convert_to_yolov5(

File "/root/anaconda3/envs/label-studio/lib/python3.8/site-packages/label_studio_converter/converter.py", line 1060, in convert_to_yolov5

for index, label in enumerate(item['output']['label']):

KeyError: 'label'
how can i solve it !!!! very thanks!!!!

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