HumanSignal / HumanSignal/label-studio
"YOLOv8 OBB" is not compatible with the `yolo` command (v8.4.115)
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
Running `yolo` fails on an unzipped YOLOv8 OBB export from Label Studio.
**To Reproduce**
Steps to reproduce the behavior:
1. Export with format "YOLOv8 OBB" to `yolov8obb_export.zip`
2. Unzip to `yolov8obb_export`
3. Run `yolo task=obb mode=train model=yolo26n-obb.pt data=yolov8obb_export epochs=200`
5. See error:
```
Traceback (most recent call last):
File "/home/gael/11-projects/2023-10-robocon/5-work/experiments/2024-09-09-oak_camera/yolo/.pixi/envs/default/lib/python3.14/site-packages/ultralytics/engine/trainer.py", line 792, in get_dataset
data = check_det_dataset(self.args.data)
File "/home/gael/11-projects/2023-10-robocon/5-work/experiments/2024-09-09-oak_camera/yolo/.pixi/envs/default/lib/python3.14/site-packages/ultralytics/data/utils.py", line 495, in check_det_dataset
file = find_dataset_yaml(file)
File "/home/gael/11-projects/2023-10-robocon/5-work/experiments/2024-09-09-oak_camera/yolo/.pixi/envs/default/lib/python3.14/site-packages/ultralytics/data/utils.py", line 454, in find_dataset_yaml
assert files, f"No YAML file found in '{path.resolve()}'"
^^^^^
AssertionError: No YAML file found in 'yolov8obb_export'
```
**Expected behavior**
The export should follow the format described at https://docs.ultralytics.com/datasets/obb.
**Environment (please complete the following information):**
- OS: Pop!_OS 22.04
- Label Studio Version 1.23
Contributor guide
Research direction
Start with the Label Studio YOLOv8 OBB export path and compare its unzipped output with the Ultralytics OBB dataset format linked in the issue. Reproduce the failure by running the shown `yolo task=obb mode=train` command against the exported directory. Done means the export contains the expected dataset metadata and is accepted by that command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-vision, data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100