Numpy std and mean does not give expected output when normalizing images data

前端 未结 0 766
一个人的身影
一个人的身影 2020-12-12 17:28

I need to normalize image in shape of [N, W, H, C] so that mean and variance along C dimension is (0,1). At first, I use the following method:

print("mea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题