Skip to content

Improve memory and time performance#32

Open
Nishi2709 wants to merge 3 commits into
kento:mainfrom
Nishi2709:improve_memoryo_and_time_performance
Open

Improve memory and time performance#32
Nishi2709 wants to merge 3 commits into
kento:mainfrom
Nishi2709:improve_memoryo_and_time_performance

Conversation

@Nishi2709
Copy link
Copy Markdown
Contributor

概要

  • メモリの動的割り当てを有効化(デフォルトでは全てのメモリを解放)
  • error_bound処理の時間短縮
    for ループを numpy 配列演算に置き換えて処理時間を短縮。
  • 処理時間を出力するオプションvで、新たに「モデルロード時間」と「ウォームアップ時間」、「predict時間」、「合計時間」を追加。

overview

  • Enable dynamic memory allocation (free all memory by default)
  • Reduce error_bound processing time
    Replace for loops with numpy array operations to reduce processing time.
  • Add new "model load time", "warm-up time", "predict time", and "total time" to option v that outputs processing time.

Add display of "Loading Model", "warm up", "predict" time and "total time"
Dynamic memory allocation
Replace for loop with numpy array operation.
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

Successfully merging this pull request may close these issues.

1 participant