You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/19 09:14:03 UTC
[GitHub] kice opened a new issue #11334: Cannot initializing parameters of
SymbolBlock.
kice opened a new issue #11334: Cannot initializing parameters of SymbolBlock.
URL: https://github.com/apache/incubator-mxnet/issues/11334
ref: https://discuss.mxnet.io/t/initializing-parameters-of-symbolblock/1213
It looks like SymbolBlock will initializing all the parameters using the initializer given in the block.initialize() function, including bias, which cannot be initialized by Xavier.
Alought that [post](https://discuss.mxnet.io/t/initializing-parameters-of-symbolblock/1213) suggests a solution, and in addition, I think we should try to initialize the parameters if it was given in the symbol/json file.
e.g.
`bias = mx.sym.Variable(name='conv_bias', shape=(num_filter,), init=mx.init.Zero())`
or
```
{
"op": "null",
"name": "conv_bias",
"attrs": {
"__init__": "[\"zero\", {}]",
"__shape__": "(64,)"
},
"inputs": []
}
```
Or if there a better way please let me know.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services