You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,I want to use the demo ,but when I asked a question like"what is in the image",it errors:
'Unknown image ID. Try uploading the image again.'
OR
ValueError: could not broadcast input array from shape (384) into shape (300)
I don't know what does the image ID mean? How can I solve this problem?Thanks.Waiting for your reply.
The text was updated successfully, but these errors were encountered:
I also have the same issue. I think it's because of spacy.load('en', vectors=en_glove_cc_300_1m_vectors')
With the latest spacy, it doesn't have en_glove_cc_300_1m_vectors(300 dim) and only have en_core_web_sm which has 384 dim word vectors(i'm not sure about this).
Is there a way to download and apply en_glove_cc_300_1m_vectors?
@MILOTIDE I figured out the second issue by installing spacy version 1.6.0. After installing spacy, execute spacy.util.get_data_path() to make sure your word vector archive directory and download en-1.1.0.tar.gz and en_glove_cc_300_1m_vectors.tar.gz manually from here (https://github.com/explosion/spaCy/releases/tag/v1.6.0).
And untar the files in your archive path. This worked for me.
ps. You should delete .tar.gz files from archive dir, unless spacy cannot load vectors
Hello,I want to use the demo ,but when I asked a question like"what is in the image",it errors:
'Unknown image ID. Try uploading the image again.'
OR
ValueError: could not broadcast input array from shape (384) into shape (300)
I don't know what does the image ID mean? How can I solve this problem?Thanks.Waiting for your reply.
The text was updated successfully, but these errors were encountered: