tensorflow - Convolution neural networks -- all feature maps are black(pixel value is 0) -
i doing project maps trained cnns on zynq soc. trained lenet in tensorflow , extracted weights , biases. far observed, value of weights close 0, none of them larger 1. input data of lenet gray scale image , pixel value 0 255.
when tried 2-d convolution between input image , kernel (trained weights), output feature maps black image since convolution result close 0. takes relu layer account. shown in picture below, value of weight in kernel , feature maps should value between 0 255 according brightness.
i wonder why got black(0 pixel value) feature maps?
the inputs normalized before doing convolution , feature maps created normalized create images. create similar images have find out how inputs normalized in network created weights using , normalize inputs in same way, min-max normalization on feature map , 0-255 range.
Comments
Post a Comment