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 #33

Closed
xuanzhaopeng opened this issue Aug 24, 2016 · 2 comments
Closed

Segmentation fault #33

xuanzhaopeng opened this issue Aug 24, 2016 · 2 comments

Comments

@xuanzhaopeng
Copy link

0x0000000000403662 in TSNE::computeGaussianPerplexity (this=0x612010, X=0x7ffff6fab010, N=10000, D=30, _row_P=0x7fffffffe3d0, _col_P=0x7fffffffe3d8,
_val_P=0x7fffffffe3e0, perplexity=50, K=150) at tsne.cpp:470
470 cur_P[m] = exp(-beta * distances[m + 1] * distances[m + 1]);

The reason is sizeof(distance) = 24, but K = 150, how it works??

@lvdmaaten
Copy link
Owner

Can you please provide more details? What is the size of your input data,
how do you execute the code, what are the input parameters, etc.?

I cannot resolve potential issues if I cannot reproduce them.

On Wednesday, August 24, 2016, Zhaopeng XUAN notifications@github.com
wrote:

0x0000000000403662 in TSNE::computeGaussianPerplexity (this=0x612010,
X=0x7ffff6fab010, N=10000, D=30, _row_P=0x7fffffffe3d0,
_col_P=0x7fffffffe3d8,
_val_P=0x7fffffffe3e0, perplexity=50, K=150) at tsne.cpp:470
470 cur_P[m] = exp(-beta * distances[m + 1] * distances[m + 1]);

The reason is sizeof(distance) = 24, but K = 150, how it works??


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#33, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHSrhJtFevkJ3onMzwxsXyXlg4I6ygvks5qjKhjgaJpZM4Jsahj
.

@GoXian
Copy link

GoXian commented Sep 22, 2023

0x0000000000403662 in TSNE::computeGaussianPerplexity (this=0x612010, X=0x7ffff6fab010, N=10000, D=30, _row_P=0x7fffffffe3d0, _col_P=0x7fffffffe3d8, _val_P=0x7fffffffe3e0, perplexity=50, K=150) at tsne.cpp:470 470 cur_P[m] = exp(-beta * distances[m + 1] * distances[m + 1]);

The reason is sizeof(distance) = 24, but K = 150, how it works??

请问最后你是如何解决的

This issue was closed.
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

3 participants