1adrianb / 1adrianb/face-alignment-training
Batchnorm parameter
- Vorherrschende Sprache
- Lua
- Sterne
- 152
- Forks
- 44
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
```
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- machine-learning
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 40/100