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

compile fitsne error #124

Open
zyh3826 opened this issue Aug 9, 2022 · 3 comments
Open

compile fitsne error #124

zyh3826 opened this issue Aug 9, 2022 · 3 comments

Comments

@zyh3826
Copy link

zyh3826 commented Aug 9, 2022

I use this command to compile from the main page:

g++ -std=c++11 -O3  src/sptree.cpp src/tsne.cpp src/nbodyfft.cpp  -o bin/fast_tsne -pthread -lfftw3 -lm

but got a warning, and the program stop:

In file included from src/tsne.cpp:42:0:
src/annoylib.h:84:17: note: #pragma message: Using no AVX instructions
 #pragma message "Using no AVX instructions"
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tsne.cpp: In member function 'void TSNE::computeGradient(double*, unsigned int*, unsigned int*, double*, double*, int, int, double*, double, unsigned int)':
src/tsne.cpp:633:89: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
                         pos_f[i * 2 + 1], neg_f[i * 2] / sum_Q, neg_f[i * 2 + 1] / sum_Q);

what's wrong with the program, thanks

@DexSwaper
Copy link

no solution ?

@DexSwaper
Copy link

i repleced %d with $lu , it worked , but i dont have solution for "AVAX " part

@zyh3826
Copy link
Author

zyh3826 commented Jun 13, 2023

i repleced %d with $lu , it worked , but i dont have solution for "AVAX " part

I change to CuML

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

2 participants