However, now there is no .keys() or .vocab attribute on either a Word2Vec object or KeyedVector object.
Please suggest.
Many thanks.
I've been struggling for some reason to structure the inputs to my CNN correctly. Currently my X data is in the form of an array of lists of ids (which correspond to embeddings).
My y labels are in the form of an array of lists of binary outcome variables (ie: [[0],[1]]).
I keep hitting the error ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type list).
I have tried converting the data types to be 2d arrays, 2d lists, array of lists, list of arrays and keep getting the same error. What am I doing wrong?
--
You received this message because you are subscribed to a topic in the Google Groups "Gensim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gensim/57twzMCd4mE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gensim+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gensim/ed54876c-0d0d-479b-9015-6701597402e1n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Gensim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gensim+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gensim/CA%2BHm9gp%3D9tFKDvUJo%3DMB7cjjjjPc298ykz17ADmyjntpaZKeww%40mail.gmail.com.