You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "run.py", line 7, in <module>
main()
File "/root/ann-benchmark/ann_benchmarks/main.py", line 185, in main
definitions = [d for d in definitions if _test(d)]
File "/root/ann-benchmark/ann_benchmarks/main.py", line 185, in <listcomp>
definitions = [d for d in definitions if _test(d)]
File "/root/ann-benchmark/ann_benchmarks/main.py", line 168, in _test
raise Exception(
Exception: ann_benchmarks.algorithms.faiss.FaissIVF(['euclidean', 2048]): error: the module 'ann_benchmarks.algorithms.faiss' does not expose the named constructor
Hello,
I encountered a problem while using the --local feature. I ran the following command to test faiss-ivf:
However, the program threw the following error:
I found that the code is checking the validity of the constructor at this line:
https://github.com/erikbern/ann-benchmarks/blob/main/ann_benchmarks/definitions.py#L36
It imports the module using definition.module, but I noticed that the actual directory of the constructor is f"{definition.module}.module. Is this a bug?
Thank you.
The text was updated successfully, but these errors were encountered: