Closed bagavi closed 5 years ago
When you would like to get the number of distance computations, you have to build and install from the source with the define NGT_DISTANCE_COMPUTATION_COUNT below.
cd (NGT_ROOT)
mkdir build
cd build
cmake -DNGT_DISTANCE_COMPUTATION_COUNT=ON ..
make
make install
ldconfig /usr/local/lib
Then, you have to build and install ngtpy from the source according to ngtpy README.
If you have already installed ngtpy with pip, please uninstall it.
I install ngt using
pip3 install ngt
and on running the sample code - https://github.com/yahoojapan/NGT/blob/master/python/sample/sample.py -- I get the following errornumber of distance
defined?