Closed smartIU closed 6 months ago
Resetting the distance function in setstate, so evaluations like "dist == pynnd_dist.bit_hamming" work as intended after unpickle. Otherwise trying to load a pickled model with bitpacked vectors will fail in _init_search_function.
Great work, thank you!
Resetting the distance function in setstate, so evaluations like "dist == pynnd_dist.bit_hamming" work as intended after unpickle. Otherwise trying to load a pickled model with bitpacked vectors will fail in _init_search_function.