Meet YOLO26: next-gen vision AI.

Link to this sectionArgoverseデータセット#

Argoverseデータセットは、3Dトラッキング、モーション予測、ステレオ深度推定といった自動運転タスクの研究を支援するために設計されたデータ集です。Argo AIによって開発されたこのデータセットは、高解像度画像、LiDAR点群、地図データなど、幅広い高品質なセンサーデータを提供します。

注意

トレーニングに必要なArgoverseデータセットの*.zipファイルは、FordによるArgo AIの事業終了に伴いAmazon S3から削除されましたが、現在はGoogle Driveから手動でダウンロード可能です。

Link to this section主な特徴#

  • Argoverseには、1,263の異なるシーンにわたり、29万件以上のラベル付き3Dオブジェクトトラックと500万件のオブジェクトインスタンスが含まれています。
  • このデータセットには、高解像度カメラ画像、LiDAR点群、そして詳細にアノテーションされたHDマップが含まれます。
  • アノテーションには、オブジェクトの3Dバウンディングボックス、オブジェクトトラック、および軌跡情報が含まれます。
  • Argoverseは、3Dトラッキング、モーション予測、ステレオ深度推定などのタスク向けに、複数のサブセットを提供しています。

Link to this sectionデータセットの構造#

Argoverseデータセットは、主に3つのサブセットで構成されています。

  1. Argoverse 3D Tracking: このサブセットは113のシーンと29万件以上のラベル付き3Dオブジェクトトラックを含み、3Dオブジェクトトラッキングタスクに重点を置いています。これにはLiDAR点群、カメラ画像、およびセンサーキャリブレーション情報が含まれます。
  2. Argoverse Motion Forecasting: このサブセットは、60時間の運転データから収集された32万4千件の車両軌跡で構成されており、モーション予測タスクに適しています。
  3. Argoverse Stereo Depth Estimation: このサブセットはステレオ深度推定タスク用に設計されており、グラウンドトゥルースの深度推定のための対応するLiDAR点群を含む1万件以上のステレオ画像ペアが含まれています。

Link to this sectionアプリケーション#

Argoverseデータセットは、3Dオブジェクトトラッキング、モーション予測、ステレオ深度推定といった自動運転タスクにおけるディープラーニングモデルのトレーニングおよび評価に広く使用されています。このデータセットの多様なセンサーデータ、オブジェクトアノテーション、および地図情報は、自動運転分野の研究者や実務者にとって貴重なリソースです。

Link to this sectionデータセット YAML#

データセットの設定を定義するには、YAML (Yet Another Markup Language) ファイルが使用されます。これにはデータセットのパス、クラス、およびその他の関連情報が含まれます。Argoverseデータセットの場合、Argoverse.yamlファイルがhttps://github.com/ultralytics/ultralytics/blob/main/ultralytics/cfg/datasets/Argoverse.yamlで管理されています。

ultralytics/cfg/datasets/Argoverse.yaml
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

# Argoverse-HD dataset (ring-front-center camera) by Argo AI: https://www.cs.cmu.edu/~mengtial/proj/streaming/
# Documentation: https://docs.ultralytics.com/datasets/detect/argoverse/
# Example usage: yolo train data=Argoverse.yaml
# parent
# ├── ultralytics
# └── datasets
#     └── Argoverse ← downloads here (31.5 GB)

# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
path: Argoverse # dataset root dir
train: Argoverse-1.1/images/train/ # train images (relative to 'path') 39384 images
val: Argoverse-1.1/images/val/ # val images (relative to 'path') 15062 images
test: Argoverse-1.1/images/test/ # test images (optional) https://eval.ai/web/challenges/challenge-page/800/overview

# Classes
names:
  0: person
  1: bicycle
  2: car
  3: motorcycle
  4: bus
  5: truck
  6: traffic_light
  7: stop_sign

# Download script/URL (optional) ---------------------------------------------------------------------------------------
download: |
  import json
  from pathlib import Path

  from ultralytics.utils import TQDM
  from ultralytics.utils.downloads import download

  def argoverse2yolo(annotation_file):
      """Convert Argoverse dataset annotations to YOLO format for object detection tasks."""
      labels = {}
      with open(annotation_file, encoding="utf-8") as f:
          a = json.load(f)
      for annot in TQDM(a["annotations"], desc=f"Converting {annotation_file} to YOLO format..."):
          img_id = annot["image_id"]
          img_name = a["images"][img_id]["name"]
          img_label_name = f"{Path(img_name).stem}.txt"

          cls = annot["category_id"]  # instance class id
          x_center, y_center, width, height = annot["bbox"]
          x_center = (x_center + width / 2) / 1920.0  # offset and scale
          y_center = (y_center + height / 2) / 1200.0  # offset and scale
          width /= 1920.0  # scale
          height /= 1200.0  # scale

          img_dir = annotation_file.parents[2] / "Argoverse-1.1" / "labels" / a["seq_dirs"][a["images"][annot["image_id"]]["sid"]]
          if not img_dir.exists():
              img_dir.mkdir(parents=True, exist_ok=True)

          k = str(img_dir / img_label_name)
          if k not in labels:
              labels[k] = []
          labels[k].append(f"{cls} {x_center} {y_center} {width} {height}\n")

      for k in labels:
          with open(k, "w", encoding="utf-8") as f:
              f.writelines(labels[k])

  # Download 'https://argoverse-hd.s3.amazonaws.com/Argoverse-HD-Full.zip' (deprecated S3 link)
  dir = Path(yaml["path"])  # dataset root dir
  urls = ["https://drive.google.com/file/d/1st9qW3BeIwQsnR0t8mRpvbsSWIo16ACi/view?usp=drive_link"]
  print("\n\nWARNING: Argoverse dataset MUST be downloaded manually, autodownload will NOT work.")
  print(f"WARNING: Manually download Argoverse dataset '{urls[0]}' to '{dir}' and re-run your command.\n\n")
  # download(urls, dir=dir)

  # Convert
  annotations_dir = "Argoverse-HD/annotations/"
  (dir / "Argoverse-1.1" / "tracking").rename(dir / "Argoverse-1.1" / "images")  # rename 'tracking' to 'images'
  for d in "train.json", "val.json":
      argoverse2yolo(dir / annotations_dir / d)  # convert Argoverse annotations to YOLO labels

Link to this section使用方法#

ArgoverseデータセットでYOLO26nモデルを100エポックトレーニングし、画像サイズを640にするには、以下のコードスニペットを使用できます。利用可能な引数の包括的なリストについては、モデルのトレーニングページを参照してください。

学習例
from ultralytics import YOLO

# Load a model
model = YOLO("yolo26n.pt")  # load a pretrained model (recommended for training)

# Train the model
results = model.train(data="Argoverse.yaml", epochs=100, imgsz=640)

Link to this sectionサンプルデータとアノテーション#

Argoverseデータセットには、カメラ画像、LiDAR点群、HDマップ情報を含む多様なセンサーデータセットが含まれており、自動運転タスクに対して豊富なコンテキストを提供します。データセットからのデータ例と、それに対応するアノテーションを以下に示します。

車両アノテーション付きArgoverseデータセット3Dトラッキングサンプル

  • Argoverse 3D Tracking: この画像は3Dオブジェクトトラッキングの例を示しており、オブジェクトが3Dバウンディングボックスでアノテーションされています。データセットは、このタスクに向けたモデル開発を促進するためにLiDAR点群とカメラ画像を提供します。

この例では、Argoverseデータセットに含まれるデータの多様性と複雑さを示しており、自動運転タスクにおける高品質なセンサーデータの重要性を強調しています。

Link to this section引用と謝辞#

研究や開発作業でArgoverseデータセットを使用する場合は、以下の論文を引用してください。

引用
@inproceedings{chang2019argoverse,
  title={Argoverse: 3D Tracking and Forecasting with Rich Maps},
  author={Chang, Ming-Fang and Lambert, John and Sangkloy, Patsorn and Singh, Jagjeet and Bak, Slawomir and Hartnett, Andrew and Wang, Dequan and Carr, Peter and Lucey, Simon and Ramanan, Deva and others},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={8748--8757},
  year={2019}
}

自動運転研究コミュニティにとって貴重なリソースであるArgoverseデータセットを作成・維持してくださったArgo AIに感謝いたします。Argoverseデータセットとその作成者に関する詳細については、Argoverseデータセットのウェブサイトをご覧ください。

Link to this sectionよくある質問 (FAQ)#

Link to this sectionArgoverseデータセットとは何ですか?また、その主な特徴は何ですか?#

Argo AIによって開発されたArgoverseデータセットは、自動運転の研究を支援します。これには、1,263のシーンにわたる29万件以上のラベル付き3Dオブジェクトトラックと500万件のオブジェクトインスタンスが含まれます。このデータセットは、高解像度カメラ画像、LiDAR点群、アノテーション済みHDマップを提供し、3Dトラッキング、モーション予測、ステレオ深度推定といったタスクに役立ちます。

Link to this sectionArgoverseデータセットを使用してUltralytics YOLOモデルをトレーニングするにはどうすればよいですか?#

ArgoverseデータセットでYOLO26モデルをトレーニングするには、提供されているYAML設定ファイルと以下のコードを使用してください。

学習例
from ultralytics import YOLO

# Load a model
model = YOLO("yolo26n.pt")  # load a pretrained model (recommended for training)

# Train the model
results = model.train(data="Argoverse.yaml", epochs=100, imgsz=640)

引数の詳細な説明については、モデルのトレーニングページを参照してください。

Link to this sectionArgoverseデータセットでは、どのような種類のデータやアノテーションが利用できますか?#

Argoverseデータセットには、高解像度カメラ画像、LiDAR点群、HDマップデータなど、さまざまな種類のセンサーデータが含まれています。アノテーションには、3Dバウンディングボックス、オブジェクトトラック、軌跡情報が含まれます。これらの包括的なアノテーションは、3Dオブジェクトトラッキング、モーション予測、ステレオ深度推定などのタスクにおいて、正確なモデルトレーニングを行うために不可欠です。

Link to this sectionArgoverseデータセットはどのように構成されていますか?#

このデータセットは主に3つのサブセットに分かれています。

  1. Argoverse 3D Tracking: 113のシーンと29万件以上のラベル付き3Dオブジェクトトラックを含み、3Dオブジェクトトラッキングタスクに重点を置いています。これにはLiDAR点群、カメラ画像、およびセンサーキャリブレーション情報が含まれます。
  2. Argoverse Motion Forecasting: 60時間の運転データから収集された32万4千件の車両軌跡で構成されており、モーション予測タスクに適しています。
  3. Argoverse Stereo Depth Estimation: 1万件以上のステレオ画像ペアと、グラウンドトゥルースの深度推定のための対応するLiDAR点群が含まれています。

Link to this sectionAmazon S3から削除された現在、Argoverseデータセットはどこからダウンロードできますか?#

以前はAmazon S3で利用可能だったArgoverseデータセットの*.zipファイルは、現在Google Driveから手動でダウンロードできます。

Link to this sectionArgoverseデータセットでYAML設定ファイルは何のために使用されますか?#

YAMLファイルには、データセットのパス、クラス、およびその他の重要な情報が含まれています。Argoverseデータセットの場合、設定ファイルArgoverse.yamlは次のリンクから入手できます: Argoverse.yaml

YAML設定の詳細については、データセットガイドをご覧ください。

コメント