keras-visual-semantic-embedding
keras-visual-semantic-embedding copied to clipboard
Trouble loading a pre-trained model
Hi there!
I was playing with your code as it looks nice and straight forward, but when I try to load any of the models from: http://www.cs.toronto.edu/~rkiros/models/vse.zip I get an error: 'ValueError: You called set_weights(weights)
on layer "gru" with a weight list of length 9, but the layer was expecting 3 weights.'
The keras GRU layer indeed sets up 3 weights (kernel, recurrent_kernel and bias), so I wonder where the 9 comes from. Any ideas on things to try?
Thanks,
Douwe