YOLOv8 - classes invertion in data.yaml

オープン
#100 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞

調査の方向性

まず、記載されている前処理とデータ拡張の設定を使って Roboflow のエクスポートを再現し、次に生成されたアノテーションと併せて data.yaml を調べます。エクスポート内で 2 つのクラス名が入れ替わっているか、また順序を修正することで表示されるラベルがデータセットと一致するかを確認してください。この issue にはリポジトリのファイルもテストのエントリーポイントもありません。

索引モデルが issue の本文から書いたものです。

説明

Hello,

I'd like to report a minor bug. I've annotated a dataset with Roboflow. I exported my data in YOLOv8 format but 2 classes are inverted in data.yaml. The model have been trained sucessfully but when I display the labels on images, they are inverted...

train: ../train/images
val: ../valid/images
test: ../test/images

nc: 9
names: ['Bibendum', 'Casquette', 'Dunlop', 'Goodyear', 'Michelin bibendum', **'Michelin logo carre', 'Michelin logo',** 'Michelin sept', 'Pneu']

roboflow:
  workspace: tmf
  project: michelin-gt
  version: 11
  license: CC BY 4.0
  url: https://universe.roboflow.com/tmf/michelin-gt/dataset/11

I expected :
names: ['Bibendum', 'Casquette', 'Dunlop', 'Goodyear', 'Michelin bibendum', 'Michelin logo', 'Michelin logo carre' 'Michelin sept', 'Pneu']

Here are the augmentations / preprocessing steps I choose in Roboflow before exporting :

PREPROCESSING
Resize: Stretch to 640x640
Modify Classes: 4 remapped, 3 dropped

AUGMENTATIONS
Outputs per training example: 3
Rotation: Between -15° and +15°
Saturation: Between -25% and +25%
Brightness: Between -25% and +25%
Exposure: Between -25% and +25%

主要言語
Python
スター
642
フォーク
146
平均マージ
1日 10時間
マージ済み PR(30日)
13

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

roboflow/roboflow-python のほかの issue

roboflow/roboflow-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。