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

generate hglmm pca fisher vector #3

Open
raider3691 opened this issue Jul 2, 2020 · 0 comments
Open

generate hglmm pca fisher vector #3

raider3691 opened this issue Jul 2, 2020 · 0 comments

Comments

@raider3691
Copy link

I want to generate hglmm fisher vector.
I followed the steps but I got an error when I executed word2vec_binfile_to_matlab.m

>> word2vec_binfile_to_matlab
[02|14:00:38] num of words  : 3000000
[02|14:00:38] dimensionality: 300
[02|14:00:42] i = 100000
[02|14:00:44] i = 200000
[02|14:00:46] i = 300000
[02|14:00:47] i = 400000
[02|14:00:49] i = 500000
[02|14:00:51] i = 600000
[02|14:00:53] i = 700000
[02|14:00:55] i = 800000
[02|14:00:56] i = 900000
[02|14:00:58] i = 1000000
[02|14:01:00] i = 1100000
[02|14:01:02] i = 1200000
[02|14:01:04] i = 1300000
[02|14:01:06] i = 1400000
[02|14:01:08] i = 1500000
[02|14:01:09] i = 1600000
[02|14:01:11] i = 1700000
[02|14:01:13] i = 1800000
[02|14:01:15] i = 1900000
[02|14:01:17] i = 2000000
[02|14:01:19] i = 2100000
[02|14:01:21] i = 2200000
[02|14:01:23] i = 2300000
[02|14:01:25] i = 2400000
[02|14:01:27] i = 2500000
[02|14:01:29] i = 2600000
[02|14:01:31] i = 2700000
[02|14:01:33] i = 2800000
[02|14:01:35] i = 2900000
Unable to perform assignment because the size of the left side is 300-by-1 and the size of the right side is 0-by-0.

Error in read_word2vec_binfile (line 41)
  M(:,i) = fread(f,thesize,'float');

Error in word2vec_binfile_to_matlab (line 9)
[strings_,vectors_] = read_word2vec_binfile(in_file_name, sqrt_flag, norm_flag);
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