Closed coldmanck closed 6 years ago
I use word2vec model. You can refer to the following link https://radimrehurek.com/gensim/models/word2vec.html.
Hi @GriffinLiang Thank you for your response. Could you please share your snippet of creating the features for reference purpose? :)
You should load a pretrained model, and get the representation of an input word.
model = Word2Vec.load(fname)
model.wv['computer']
You can get the pretrained model following this blog.
Thanks for the explanation!
Hi @GriffinLiang
Thank you for you fantastic work again. I would like to utilize the fused feature vector to apply it to my dataset (in specifc, COCO). However it seems the model is dataset specific -- only apply to VRD which the number of classes is 100 when I want to retrieve the feature, the error mainly results from semantic embedding part. As COCO does not have relationship labels, it's currently impossible to re-train the model on it.
You indicated in the paper that you used off-the-shelf language model to acquire the word representations, so I am wondering how can I get the semantic embedding directly?