An error occurred when exporting the data after I finished annotating. Here is the log:
Traceback (most recent call last): File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/django/utils/decorators.py", line 43, in _wrapper return bound_method(*args, **kwargs) File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio/data_export/api.py", line 183, in get export_stream, content_type, filename = DataExport.generate_export_file( File "/home/feng/anaconda3/envs/label/lib/python3.9/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 "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio_converter/converter.py", line 215, in convert self.convert_to_yolo( File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio_converter/converter.py", line 871, in convert_to_yolo x, y, w, h = self.rotated_rectangle(label) File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio_converter/converter.py", line 916, in rotated_rectangle label["x"], KeyError: 'x'
I can export data in JSON, CSV, and TSV formats without any issues, but I encounter an error when exporting in formats like YOLO and VOC.
An error occurred when exporting the data after I finished annotating. Here is the log:
Traceback (most recent call last): File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/django/utils/decorators.py", line 43, in _wrapper return bound_method(*args, **kwargs) File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio/data_export/api.py", line 183, in get export_stream, content_type, filename = DataExport.generate_export_file( File "/home/feng/anaconda3/envs/label/lib/python3.9/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 "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio_converter/converter.py", line 215, in convert self.convert_to_yolo( File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio_converter/converter.py", line 871, in convert_to_yolo x, y, w, h = self.rotated_rectangle(label) File "/home/feng/anaconda3/envs/label/lib/python3.9/site-packages/label_studio_converter/converter.py", line 916, in rotated_rectangle label["x"], KeyError: 'x'
I can export data in JSON, CSV, and TSV formats without any issues, but I encounter an error when exporting in formats like YOLO and VOC.