pnpnpn / dna2vec

dna2vec: Consistent vector representations of variable-length k-mers
MIT License
182 stars 60 forks source link

Update multi_k_model.py #17

Closed theopavlove closed 2 years ago

theopavlove commented 4 years ago

In the existing version when calling the MultiKModel class the following error appears:

DeprecationWarning: Deprecated appears. Use gensim.models.KeyedVectors.load_word2vec_format instead.

The solution is to change the import library to KeyedVectors.