nlp_store
nlp_store copied to clipboard
word2vec 获取词向量 有问题
获取词向量
self.word_embeddings = model.embedding.embeddings.numpy()
报错: self.word_embeddings = model.embedding.embeddings.numpy() AttributeError: 'Embedding' object has no attribute 'embeddings'
@flitdu 这个错应该是tensorflow的报错,我当时用的是2.2/2.3版本,你查看下