Closed ansjsun closed 4 years ago
Well, C++ is unsafe. I'm afraid you will have to debug with the usual tools (gdb/valgrind/...)
thx very much . The problem has been solved
faiss::MultiIndexQuantizer coarse_quantizer (dimension, nhash, nbits_subq);
need to new
I really can't find a way how to solve it
I binding class
cpp_class!(pub unsafe struct IndexIVFFlat as "faiss::IndexIVFFlat");
it 's run ok .
but when I split train method
it has err
so i take by this
it has err:
or let index = &mut index; the error same .
what should I do! thanks very much