Tensorflow Object Detection APIで畳み込みレイヤーの重みを初期化する方法は?

このチュートリアルに従って、Tensorflow Object DetectionAPIを実装しました。

推奨される方法は、事前にトレーニングされたモデルを使用することです。

ただし、場合によっては、最初からトレーニングする必要があります。

そのためには、構成ファイルの2行を次のようにコメントアウトする必要があります。

#fine_tune_checkpoint: "object_detection/data/mobilenet_v1_1.0_224/mobilenet_v1_1.0_224.ckpt"
#from_detection_checkpoint: true 

Xavierウェイト初期化でウェイトを初期化する場合、どうすればよいですか?

MatějRačinský

構成protobuf定義わかるように、使用できる初期化子は3つあります。

  • TruncatedNormalInitializertruncated_normal_initializer
  • VarianceScalingInitializervariance_scaling_initializer
  • RandomNormalInitializer random_normal_initializer

VarianceScalingInitializerはあなたが探しているものです。これは一般的な初期化子であり、ドキュメントにfactor=1.0, mode='FAN_AVG'記載されているように設定することで基本的にXavier初期化子に変えることができます

したがって、イニシャライザを次のように設定することによって

initializer {
    variance_scaling_initializer {
        factor: 1.0
        uniform: true
        mode: FAN_AVG
    }
}

構成では、Xavierイニシャライザーを取得します。

ただし、新しいデータでトレーニングする必要がある場合でも、ランダムな初期化ではなく、事前トレーニング済みのネットワークを初期化として使用することを検討してください。詳細については、この記事を参照してください

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Overfitting in Tensorflow Object detection API

分類Dev

Tensorflow Object Detection API model for use in TensorFlow.js

分類Dev

Tensorflow Object Detection APIは、損失値のみを表示します。mAP値を取得する方法は?

分類Dev

Convert Tensorflow models from Object Detection API to uff

分類Dev

Store Tensorflow object detection API image output with boxes in CSV format

分類Dev

How to only detect humans in object detection API Tensorflow

分類Dev

Tensorflow Object Detection API Data Augmentation Bounding Boxes

分類Dev

Tensorflow object detection: how to detect on batch

分類Dev

'TypeError:整数スカラー配列のみをスカラーインデックスに変換できます' TensorFlow Object Detection API

分類Dev

TensorFlow Object Detection API:評価mAPは奇妙に動作しますか?

分類Dev

Tensorflow Object Detection APIで予測値のパーセンテージを取得する方法は?

分類Dev

Tensorflow Object Detection API `indices [3] = 3 is not in [0、3)`エラー

分類Dev

Tensorflow Object Detection API - What's actually test.record being used for?

分類Dev

How to train and eval at the same time in Tensorflow Object Detection API v2

分類Dev

Tensorflow Object Detection API:トレーニング中に領域を無視する方法は?

分類Dev

object_detection tensorflow api は特定の画像寸法を使用しますか?

分類Dev

TensorFlow Object Detection API: `fine_tune_checkpoint`を使用したトレーニング-以前のレイヤーのフリーズを解除しますか?

分類Dev

TensorFlowで個々のレイヤーの重み減衰を定義する方法は?

分類Dev

Which Tensorflow object detection model suits satellite images best?

分類Dev

Repeating images in training dataset for tensorflow object detection models

分類Dev

Tensorflow Object Detection APIのトレーニング中に学習率を変更できますか?

分類Dev

Tensorflow Object Detection API-途中でトレーニングデータを追加しても大丈夫ですか?

分類Dev

Tensorflow Object Detection-.pbファイルをtfliteに変換します

分類Dev

Tensorflow Object Detection APIにtrain.pyファイルがありません

分類Dev

TensorFlowで固定の重みでレイヤーを構築する

分類Dev

TensorFlow Object Detection API-オブジェクト検出APIでの損失はどういう意味ですか?

分類Dev

Tensorflow 2 Object Detection API-K-Fold Cross Validationを使用できますか/使用する必要がありますか?

分類Dev

TensorFlow Object Detectionパイプライン構成のdata_augmentation_optionsに可能な値は何ですか?

分類Dev

TensorFlow Object Detectionパイプライン構成のdata_augmentation_optionsに可能な値は何ですか?

Related 関連記事

  1. 1

    Overfitting in Tensorflow Object detection API

  2. 2

    Tensorflow Object Detection API model for use in TensorFlow.js

  3. 3

    Tensorflow Object Detection APIは、損失値のみを表示します。mAP値を取得する方法は?

  4. 4

    Convert Tensorflow models from Object Detection API to uff

  5. 5

    Store Tensorflow object detection API image output with boxes in CSV format

  6. 6

    How to only detect humans in object detection API Tensorflow

  7. 7

    Tensorflow Object Detection API Data Augmentation Bounding Boxes

  8. 8

    Tensorflow object detection: how to detect on batch

  9. 9

    'TypeError:整数スカラー配列のみをスカラーインデックスに変換できます' TensorFlow Object Detection API

  10. 10

    TensorFlow Object Detection API:評価mAPは奇妙に動作しますか?

  11. 11

    Tensorflow Object Detection APIで予測値のパーセンテージを取得する方法は?

  12. 12

    Tensorflow Object Detection API `indices [3] = 3 is not in [0、3)`エラー

  13. 13

    Tensorflow Object Detection API - What's actually test.record being used for?

  14. 14

    How to train and eval at the same time in Tensorflow Object Detection API v2

  15. 15

    Tensorflow Object Detection API:トレーニング中に領域を無視する方法は?

  16. 16

    object_detection tensorflow api は特定の画像寸法を使用しますか?

  17. 17

    TensorFlow Object Detection API: `fine_tune_checkpoint`を使用したトレーニング-以前のレイヤーのフリーズを解除しますか?

  18. 18

    TensorFlowで個々のレイヤーの重み減衰を定義する方法は?

  19. 19

    Which Tensorflow object detection model suits satellite images best?

  20. 20

    Repeating images in training dataset for tensorflow object detection models

  21. 21

    Tensorflow Object Detection APIのトレーニング中に学習率を変更できますか?

  22. 22

    Tensorflow Object Detection API-途中でトレーニングデータを追加しても大丈夫ですか?

  23. 23

    Tensorflow Object Detection-.pbファイルをtfliteに変換します

  24. 24

    Tensorflow Object Detection APIにtrain.pyファイルがありません

  25. 25

    TensorFlowで固定の重みでレイヤーを構築する

  26. 26

    TensorFlow Object Detection API-オブジェクト検出APIでの損失はどういう意味ですか?

  27. 27

    Tensorflow 2 Object Detection API-K-Fold Cross Validationを使用できますか/使用する必要がありますか?

  28. 28

    TensorFlow Object Detectionパイプライン構成のdata_augmentation_optionsに可能な値は何ですか?

  29. 29

    TensorFlow Object Detectionパイプライン構成のdata_augmentation_optionsに可能な値は何ですか?

ホットタグ

アーカイブ