LoginSignup
4
3

More than 3 years have passed since last update.

YOLOv3 Keras版実装に関して関連記事のまとめ

Last updated at Posted at 2020-10-04

Chapters

📘 Chapter #0 YOLOとは
📘 Chapter #1 環境設定
📘 Chapter #2 アノテーション
📘 Chapter #3
 📗 Chapter #3-1 YOLOv3 Keras版実装
 📗 Chapter #3-2 YOLOv3 Darknet版
📘 Chapter #A
 📗 Chapter #A-1 YOLOの各バージョンについてまとめ
 📗 Chapter #A-2 YOLOv3 Keras版実装に関して関連記事のまとめ
 📗 Chapter #A-3 ONNX変換・確認ライブラリ、アプリケーションまとめ


TL:DR

  • 元記事が手順として煩雑になっていたため、手順以外の調査した結果に関するまとめについてはこちらに分割しています。

YOLOv3のKeras版実装のソースについて

トレーニング方法 (カスタム オブジェクトを検出する方法):

PyToach版の実装ですが、いろいろ参考になる情報が記載されています(YOLOv5の作者の記載です)。
https://github.com/AlexeyAB/darknet#how-to-train-to-detect-your-custom-objects

画像処理

機械学習一般

YOLOv4

YOLOv3の利用

PythonとVisual Studio Code

  • Visual Studio CodeでPythonプログラムデバッグ時にコマンドライン引数を渡す方法

    • launch.jsonで指定する
launch.json
{
    // IntelliSense を使用して利用可能な属性を学べます。
    // 既存の属性の説明をホバーして表示します。
    // 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "args": [
                "--image",
                "--model_path",
                "logs/000/trained_weights_final.h5",
                "--classes_path",
                "model_data/voc_classes.txt"
            ]
        }
    ]
}
  • Pythonの整形ツールをインストールする場合

    • 好みに応じて設定する
Pythonの整形ツールをインストールする場合
conda install --name keras-yolo3 autopep8 -y

conda と pip

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3