image1553×390 398 KB
 Yes, the left side of this picture is the result when batch size = 1, and the right side is the result when batch size = 128. It can be found that when batch size = 1, the model will always predict one more bit in front.  In fact, I found that when the same picture (batch size = 1) and this picture and other 127 pictures (batch size = 128) forward results are different, I think it may be that the BN layer parameters are not fixed, but I used model.eval ()