Closed nyapicom closed 2 years ago
There is a unit test that uses it:
You need to build the index beforehand. Does it help ? Otherwise can you make an example to reproduce the crash ?
Note that you cannot use shared_mem
feature with refine_anng
but the function should not be available if you use this feature.
How to reconstruct ANNG
Do you mean ANNG to reconstruct ONNG ?
In this case, the function to use is convert_anng_to_onng. Note that you need to optimize the index in a very specific way, as described in the NGT documentation.
it worked well. Thank you for your help.
I guess
ngt::optim::refine_anng
is the one, but I don't know how to use it... I tried to putngt::optim::AnngRefineParams::default()
into the second argument but the system crushed.