Skip to content

Commit

Permalink
Update converter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jan 29, 2024
1 parent 4e442e2 commit 718c227
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ultralytics/data/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,12 +495,11 @@ def yolo_bbox2segment(im_dir, save_dir=None, sam_model="sam_b.pt"):
- im_dir
├─ 001.jpg
├─ ..
├─ NNN.jpg
└─ NNN.jpg
- labels
├─ 001.txt
├─ ..
─ NNN.txt
─ NNN.txt
"""
from ultralytics.data import YOLODataset
from ultralytics.utils.ops import xywh2xyxy
Expand Down

0 comments on commit 718c227

Please sign in to comment.