Open JUSTDODoDo opened 5 years ago
This work has been bothering me for many days and I look forward to your reply, thank you!
Hello, when I run compact_bilinear_pooling_test, the following error occurs. Can you tell me what is going on?
File "D:/jupyter/tensorflow_compact_bilinear_pooling-master/compact_bilinear_pooling_test.py", line 5, in
Dear ronghanghu: Thank you for your work,I tried to call this function to reproduce the paper, but the loss (cost function) has been very large during the training, and there is no tendency to decrease. It may be due to divergence. Can you help me see what is wrong? self.cbp = compact_bilinear_pooling_layer(self.conv5_3, self.conv5_2, 16000, sum_pool=True) In the implementation process, I use Vgg 16 conv5_2, conv5_3 as the input of bottom1 and bottom2, and then pass the obtained self.cbp directly to the full-connect layer softmax classifier. But the loss of the training set and the validation set has been very large and can't converge. Can you tell me if there are some missing steps in the function process? I use random gradient descent to optimize the final prediction value and the cross entropy of the label. The batchsize is 32.