Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: emd: Signature size is limited to 100 #18

Closed
icarocd opened this issue Aug 2, 2017 · 2 comments
Closed

Error: emd: Signature size is limited to 100 #18

icarocd opened this issue Aug 2, 2017 · 2 comments

Comments

@icarocd
Copy link

icarocd commented Aug 2, 2017

During the wmd distance matrix computation, it occurs "emd: Signature size is limited to 100" several times. What should be done?

@icarocd
Copy link
Author

icarocd commented Aug 2, 2017

The use of pre-trained word2vec based on google news provides 300-dimensional word vectors, but EMD algorithms does not seem to handle such amount. ?

@ghost
Copy link

ghost commented Aug 24, 2017

you have to modify some lines in "python-emd-master\emd.h" (for python) or "emd\emd.h" (for matlab )

find definitions and edit MAX_SIG_SIZE
#define MAX_SIG_SIZE 100
change 100 to bigger number (actually, the size of biggest document BOW).
remember that you must re-make.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant