yahoojapan / NGT

Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

protobuf lead to RuntimeError

nkchwfree opened this issue · comments

This is my code.

from google.protobuf import descriptor as _descriptor  # protobuf==3.16.0
import ngtpy

ngtpy.create("index", 4, distance_type='Cosine')
index = ngtpy.Index('index')
index.insert([0, 1, 0, 1])

Traceback (most recent call last):
File "_debug_index.py", line 6, in
index.insert([0, 1, 0, 1])
RuntimeError: /work/NGT/release/NGT/lib/NGT/ObjectRepository.h:

Thank you for your brief code reproducing the issue. I have been investigating the issue.

I have released v1.14.3 that fixed this issue.