Closed JiahaoYao closed 6 years ago
That is because parameters are never initialized in your configuration. Please add a loss to your network and configure a trainer.
https://github.com/PaddlePaddle/Paddle/blob/59bfa4911d36820ba64f3f6057a88246ede0fa11/doc/v2/getstarted/concepts/src/train.py#L32-L35
Parameters are supposed to be initialized during the creating of a trainer
.
Thank you. I used to suppose that it had already initialized the parameters.
I build a one layer convolution layer. It tries to set the parameter to be the Gaussian
mean=0, std=0
. When I try to print this parameter out, it is either too big or too small. It seems that the variance is so big.Does this mean that the parameter initialization is wrong?