machrisaa / tensorflow-vgg

VGG19 and VGG16 on Tensorflow
2.21k stars 1.08k forks source link

Different value from this version and keras #73

Open hjwdzh opened 5 years ago

hjwdzh commented 5 years ago

I try to print the maximum value of the feature produced by first conv layer, and it is different from keras output (more than 10x difference). I am using the same image (with the right scale), and pretrained with imagenet. Is that normal?

malicd commented 5 years ago

@hjwdzh Interesting that you ask that. I am inspecting the values in the feature maps (pool1-pool5) and observing really huge values (sometimes even >20k). I don't think this is desired behavior but the funny thing is that it still manages to classify the data correctly.