Skip to content

Conversation

lllcho
Copy link
Contributor

@lllcho lllcho commented Mar 16, 2018

Enable skip biases in Conv3dLayer to keep consistent to Conv2dLayer, which is useful when inflate 2D ImageNet pretrained model to C3D model. In some case, we also need skip the gamma/beta in BN layer, such as the inception_resnet_v2 model, the gamma is ignored.

@luomai luomai requested a review from zsdonghao March 16, 2018 14:50
beta_init : initializer or None
The initializer for initializing beta, if None, skip beta
gamma_init : initializer or None
The initializer for initializing gamma, if None, skip gamma
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tell users when we will need to skip beta and gamma here.

.rst link format:

`link <http://.....>`__ 

@tensorlayer tensorlayer deleted a comment Mar 17, 2018
@zsdonghao zsdonghao merged commit 7a5b258 into tensorlayer:master Mar 17, 2018
luomai pushed a commit that referenced this pull request Nov 21, 2018
…ayer (#421)

* update by lllcho on March 15

* update logging

* b_init in c3d can None and gamma/beta in BN layer can skip

* fix some comments

* add comments in bn layer
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.

2 participants