jazzsaxmafia / Weakly_detector

Tensorflow implementation of "Learning Deep Features for Discriminative Localization"
361 stars 87 forks source link

Wrong activation maps. #7

Closed chrisrn closed 7 years ago

chrisrn commented 7 years ago

I am using your technique to obtain activation maps for only one class in a binary classification problem. The network I have trained is inception v3. I cut the last 3 inception modules and then I added a new convolutional layer, a gap layer and a softmax. The input of the new convolutional layer has shape batch_size x 17 x 17 x 768 and the output's shape is batch_size x 17 x 17 x 1024, using 3 x 3 kernel. The precision of the network is high (89%). Do you have idea what might be wrong? I have not changed your technique.