Closed aSafarpoor closed 5 years ago
my error is sth like this: ValueError: Layer #125 (named "gvlad_center_assignment"), weight <tf.Variable 'gvlad_center_assignment/kernel:0' shape=(7, 1, 512, 10) dtype=float32_ref> has shape (7, 1, 512, 10), but the saved weight has shape (12, 512, 7, 1)
do you have any idea please?
Hi,
I assume you are not following my code exactly, either you change your input size or the backbone networks.
Your tensor shape to this layer should be something like: Batchsize x 7 x 1 x D
yeah,i change vlad size and it works. thank you for your answer
hi. i found your code really complete and i tried to use is but: when i use your model called in "readme" to predict it works but when i try to use my own data with "python main.py .... " and then i want to use it for prediction , i found an error about not same shape , .... would you please help me about that?