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

Segmentation fault with TSNE fit_transform #5903

Closed
napsternxg opened this issue Nov 23, 2015 · 5 comments
Closed

Segmentation fault with TSNE fit_transform #5903

napsternxg opened this issue Nov 23, 2015 · 5 comments

Comments

@napsternxg
Copy link
Contributor

I am trying the following piece of code with sklearn version 0.16.1 and am getting segmentation fault error.

>>> from sklearn.manifold import TSNE
>>> X = numpy.random.rand(10,10)
>>> t = TSNE()
>>> t.fit(X)
Segmentation fault

The same code for PCA works correctly.

>>> from sklearn.decomposition import PCA
>>> t = PCA()
>>> t.fit(X)

My library versions are:
sklearn = 0.16.1
numpy = 1.10.1
scipy = 0.16.1
OpenBLAS 0.2.16.dev

@vighneshbirodkar
Copy link
Contributor

I believe the TSNE code is leaking memory.
#5689 has been a nightmare so far. I'm consistently getting an unrelated failure.

@amueller
Copy link
Member

The code has change A LOT since 0.16.1 its a completely different algorithm. Can you try 0.17?

@napsternxg
Copy link
Contributor Author

@amueller I cannot install 0.17 because of #5904

@olologin
Copy link
Contributor

Ubuntu 15.10, Python 3.4.3, sklearn 0.17 - everything works as expected.

@napsternxg
Copy link
Contributor Author

Updated to new version. Fixed.

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

4 participants