Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android開発 #23

Open
akihiro-coder opened this issue Feb 20, 2023 · 5 comments
Open

android開発 #23

akihiro-coder opened this issue Feb 20, 2023 · 5 comments

Comments

@akihiro-coder
Copy link
Owner

akihiro-coder commented Feb 20, 2023

直近で調べること

@akihiro-coder
Copy link
Owner Author

akihiro-coder commented Feb 28, 2023

@akihiro-coder
Copy link
Owner Author

akihiro-coder commented Feb 28, 2023

Yoloの検出方法について調査

参考資料

まとめ

  • Yoloのアーキテクチャの出力

    • クラス予測確率、bboxの位置情報、bboxのconfidence
    • bboxのconfidence
      • Pr(Object) * IoU = IoU(when Pr=1):bboxが物体をどれほど正しい位置で捉えられているかを意味
      • Pr(Object): bbox内にObjectが含まれていると1, 無いと0
      • IoU: 正解bboxと予測bboxのIoU
      • 信頼度スコア
        • クラス予測確率、bboxのconfidence1つ(最大値)からなる式で表される
        • Pr(Class | Object) * Pr(Object) * IoU
        • Yoloの推論チュートリアルで表示された数値
        • そのbboxが対象とするクラスの物体をどれほど正確な位置で捉えているかを意味
  • Yolov3のアーキテクチャ

    • 3つの3階テンソルを出力
    • 3つの出力は大中小のオブジェクトを検出を意味
  • アンカーボックス

    • アンカーベースの物体検出ネットワーク手法において,CNN特徴マップ上に配置した各アンカー点周辺に,予測の元矩形として複数サイズ配置しておく,バウンディングボックス予測の事前分布候補群である.

    • アンカーボックスベースの物体検出 (Faster R-CNN, YOLO, SSDなど)では,各アンカー周辺に配置したK個のアンカーボックス領域から,そのアンカー点(空間グリッド内の1セル)の特徴量ベクトルを入力として,「物体クラス識別」+「アンカーボックスに対するズレ量(オフセット)の回帰」の2つの予測を行う.

  • yolo layer

  • その他

    • yolov3は各セルに3サイズのbboxを持つ
    • 入力画像を最終的な特徴マップと同じ次元のグリッドに分割する
      • 特徴マップの寸法が1313なら、入力画像は1313のセルに分割

@akihiro-coder
Copy link
Owner Author

object detection word

参考資料

@akihiro-coder
Copy link
Owner Author

cmake .. , make, make install の違い

@akihiro-coder
Copy link
Owner Author

MNN(c++API)で推論コードを試す

  • やること
    • yolov3(pytorchモデル)で推論
    • モデル変換
    • MNNで推論

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant