From 7ac65dc33b54f086ba0d5ead82d2d8b23a087ed7 Mon Sep 17 00:00:00 2001 From: Muhammad Rizwan Munawar Date: Mon, 29 Jan 2024 23:50:41 +0500 Subject: [PATCH] Add https://youtu.be/3VryynorQeo to README and fix `converter.py` Docs (#7883) Co-authored-by: Glenn Jocher Co-authored-by: UltralyticsAssistant --- README.md | 2 +- README.zh-CN.md | 16 ++++++++-------- ultralytics/data/converter.py | 7 +++++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 76b894f1..d0e85086 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Ultralytics provides interactive notebooks for YOLOv8, covering training, valida | YOLOv8 Multi-Object Tracking in Videos | Open In Colab |
Ultralytics Youtube Video
| | YOLOv8 Object Counting in Videos | Open In Colab |
Ultralytics Youtube Video
| | YOLOv8 Heatmaps in Videos | Open In Colab |
Ultralytics Youtube Video
| -| Ultralytics Datasets Explorer with SQL and OpenAI Integration 🚀 New | Open In Colab | Coming Soon | +| Ultralytics Datasets Explorer with SQL and OpenAI Integration 🚀 New | Open In Colab |
Ultralytics Youtube Video
| ##
Models
diff --git a/README.zh-CN.md b/README.zh-CN.md index 32ad09e5..7af023f4 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -104,14 +104,14 @@ success = model.export(format="onnx") # 将模型导出为 ONNX 格式 Ultralytics 提供了 YOLOv8 的交互式笔记本,涵盖训练、验证、跟踪等内容。每个笔记本都配有 [YouTube](https://youtube.com/ultralytics) 教程,使学习和实现高级 YOLOv8 功能变得简单。 -| 文档 | 笔记本 | YouTube | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -| YOLOv8 训练、验证、预测和导出模式 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| -| Ultralytics HUB 快速开始 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| -| YOLOv8 视频中的多对象跟踪 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| -| YOLOv8 视频中的对象计数 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| -| YOLOv8 视频中的热图 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| -| Ultralytics 数据集浏览器,集成 SQL 和 OpenAI 🚀 New | 在 Colab 中打开 | 即将推出 | +| 文档 | 笔记本 | YouTube | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | +| YOLOv8 训练、验证、预测和导出模式 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| +| Ultralytics HUB 快速开始 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| +| YOLOv8 视频中的多对象跟踪 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| +| YOLOv8 视频中的对象计数 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| +| YOLOv8 视频中的热图 | 在 Colab 中打开 |
Ultralytics Youtube 视频
| +| Ultralytics 数据集浏览器,集成 SQL 和 OpenAI 🚀 New | 在 Colab 中打开 |
Ultralytics Youtube Video
| ##
模型
diff --git a/ultralytics/data/converter.py b/ultralytics/data/converter.py index 0d71b76a..62be0b1f 100644 --- a/ultralytics/data/converter.py +++ b/ultralytics/data/converter.py @@ -336,6 +336,7 @@ def convert_dota_to_yolo_obb(dota_root_path: str): Notes: The directory structure assumed for the DOTA dataset: + - DOTA ├─ images │ ├─ train @@ -345,6 +346,7 @@ def convert_dota_to_yolo_obb(dota_root_path: str): └─ val_original After execution, the function will organize the labels into: + - DOTA └─ labels ├─ train @@ -489,14 +491,15 @@ def yolo_bbox2segment(im_dir, save_dir=None, sam_model="sam_b.pt"): Notes: The input directory structure assumed for dataset: + - 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