Open feifanzui opened 5 years ago
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?
我用python输出了训练得到的model,为什么权重都是小数,不是+1 -1 啊