pytorch eval作用
锁住batch_norm层
1 | During training, this layer keeps a running estimate of its computed mean and variance. The running sum is kept with a default momentum of 0.1. |
锁住batch_norm层
1 | During training, this layer keeps a running estimate of its computed mean and variance. The running sum is kept with a default momentum of 0.1. |