Hi, thanks for your video on word2vec (https://www.youtube.com/watch?v=_Rt4LjasO34).
I've followed it, but when I open the source in colab: https://github.com/Suji04/NormalizedNerd/blob/master/Introduction%20to%20NLP/Word2Vec.ipynb,
when I'm executing the last block of code (with the tsne_plot function), I've got this error:
AttributeError: 'list' object has no attribute 'shape'
The error is with regard with this line (which is underlined in red by the colab debugger):
coordinates = tsne_model.fit_transform(wordvecs)
I tried to convert wordvecs from an array to a numpy array, but then it creates new problems.
Hi, thanks for your video on word2vec (https://www.youtube.com/watch?v=_Rt4LjasO34).
I've followed it, but when I open the source in colab: https://github.com/Suji04/NormalizedNerd/blob/master/Introduction%20to%20NLP/Word2Vec.ipynb,
when I'm executing the last block of code (with the tsne_plot function), I've got this error:
AttributeError: 'list' object has no attribute 'shape'The error is with regard with this line (which is underlined in red by the colab debugger):
coordinates = tsne_model.fit_transform(wordvecs)I tried to convert wordvecs from an array to a numpy array, but then it creates new problems.