Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Updated:

質問

AIモデル変換時の画像の正規化の方法について知りたい。

回答

setting.confのIN_MEAN及びIN_SCALEで設定可能です。

IN_MEAN:減算正規化を行う場合のパラメータ

...

平均が0となるような値(0-255の場合、127.5)

...

Question

How to normalize images when converting AI models.

...

Answer

Can be set with IN_MEAN and IN_SCALE in setting.conf file.

  • IN_MEAN : Parameters for subtractive normalization

    • Values that have an average of 0 (For 0-255, it is 127.5)

    • If the values are different in RGB, enter them separated by commas without spaces. (103.94,116.78,123.68)

  • IN_SCALE:除算正規化を行う場合のパラメータ

    • 分散が1となるような値(0-255の場合、255)

...