keras-language-modeling icon indicating copy to clipboard operation
keras-language-modeling copied to clipboard

Complaint about no shape when using models saved from Genism

Open wailoktam opened this issue 8 years ago • 0 comments

Hi, I am trying your work on different data sets, such as the WikiQA. So I think I need to retrain word2vec weights and change the line: 'initial_embed_weights': np.load('word2vec_100_dim.embeddings'). But when I save the model I get from Gensim and put its name within the np.load() brackets. I get an error message saying that my model file has no shape. Am I saving and using the wrong file? I did a model.save in Gensim.

wailoktam avatar Sep 05 '16 04:09 wailoktam