You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can reproduce this behavior. Looks like the bias_filler causes the issue whenever it's set to "msra" or "xavier". If I checkout the commit b3deb95 (right before merging #6240) the problems disappear.
Turns out prior to #6240 when we used Blob::channels (see line 151) on a 1-D blob, it returned 1. Current implementation uses Blob::shape, which makes the following check, erroring out if we request shape(1) of a 1-D blob. Fix would be to safeguard the call to shape - I will push it tomorrow, unless you want to beat me to it.
On the other hand, maybe we should add a bias filler check too, to make sure we catch this next time.
Noiredd
changed the title
XavierFilller and MSRAFiller doesn't work in current master
XavierFilller and MSRAFiller fail to fill a bias blob
Mar 5, 2018
To be honest, using Xavier/MSRA for bias initialization does not make much sense: how to define fan_in and fan_out for it? Still, we shouldn't be throwing errors in this case - fix is on its way.
Issue summary
XavierFilller and MSRAFiller doesn't work in current master, the error info as below:
Steps to reproduce
run a caffe prototxt with Convolution, which para filler use Xavier or MSRA.
I ran a Resnet50 prototxt. Part as follow:
The text was updated successfully, but these errors were encountered: