1adrianb / 1adrianb/face-alignment-training

Batchnorm parameter

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
152
Forks
44
PR merge metrics
No merged PRs in 30d

Description

```
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.