KlugerLab / FIt-SNE

Fast Fourier Transform-accelerated Interpolation-based t-SNE (FIt-SNE)
Other
594 stars 107 forks source link

compile fitsne error #124

Open zyh3826 opened 2 years ago

zyh3826 commented 2 years ago

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 commented 1 year ago

no solution ?

DexSwaper commented 1 year ago

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

zyh3826 commented 1 year ago

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

I change to CuML