1adrianb / 1adrianb/face-alignment-training

Batchnorm parameter

オープン
#15 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Lua
スター
152
フォーク
44
PR マージ指標
30日以内にマージされた PR はありません

説明

```
local function convBlock(numIn, numOut, order)
local cnet = nn.Sequential()
:add(batchnorm(numIn,1e-5,false))
:add(relu(true))
:add(conv(numIn,numOut/2,3,3,1,1,1,1):noBias())
:add(nn.ConcatTable()
:add(nn.Identity())
:add(nn.Sequential()
:add(nn.Sequential()
:add(batchnorm(numOut/2,1e-5,false))
:add(relu(true))
:add(conv(numOut/2,numOut/4,3,3,1,1,1,1):noBias())
)
```
batchnorm(numIn,1e-5,false)
Dose this statement want to set affine = false?
But in fact, four parameters (nOutput, eps, momentum, affine) are needed.
The batchnorm will have wight and bias.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look at the batchnorm function definition in the codebase to see its signature and default parameters. The issue suggests the call passes three arguments but the function expects four, possibly incorrectly setting 'affine'. Check how batchnorm is implemented in the project's dependencies (like nn or cunn) to understand the correct parameter order. Verify if weight and bias are being created when they shouldn't be.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
machine-learning
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
40/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。