Bi-Real-net
Bi-Real-net copied to clipboard
输出权重为什么不是二值化的
我用python输出了训练得到的model,为什么权重都是小数,不是+1 -1 啊
You need to set the weights to -1 and 1 in the convolution layers and also freeze the learning rate. Then you retrain the BatchNorm layer to absorb the scaling factor.
You need to set the weights to -1 and 1 in the convolution layers and also freeze the learning rate. Then you retrain the BatchNorm layer to absorb the scaling factor.
excuse me, is what you said had been included in your code?
You need to set the weights to -1 and 1 in the convolution layers and also freeze the learning rate. Then you retrain the BatchNorm layer to absorb the scaling factor.
How to constraint the weights to -1 and 1?And, how to retrain the BatchNorm layer to absorb the scaling factor?