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

Fasttext incorrect shape in test #1370

Closed
menshikh-iv opened this issue May 27, 2017 · 1 comment
Closed

Fasttext incorrect shape in test #1370

menshikh-iv opened this issue May 27, 2017 · 1 comment
Labels
bug Issue described a bug

Comments

@menshikh-iv
Copy link
Contributor

menshikh-iv commented May 27, 2017

I run all tests and get this error (any python version, develop branch)
CC @prakhar2b @jayantj

======================================================================
FAIL: testTraining (gensim.test.test_fasttext_wrapper.TestFastText)
Test self.test_model successfully trained, parameters and weights correctly loaded
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ivan/release/test/gensim/gensim/test/test_fasttext_wrapper.py", line 63, in testTraining
    self.assertEqual(trained_model.wv.syn0.shape, (vocab_size, model_size))
AssertionError: Tuples differ: (1763, 10) != (1762, 10)

First differing element 0:
1763
1762

- (1763, 10)
?     ^

+ (1762, 10)
?     ^


----------------------------------------------------------------------
@menshikh-iv menshikh-iv changed the title Fasttext incorrect shapes in test Fasttext incorrect shape in test May 27, 2017
@piskvorky piskvorky added the bug Issue described a bug label May 28, 2017
@menshikh-iv
Copy link
Contributor Author

Fixed in #1371

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

No branches or pull requests

2 participants