Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: src/ngtpy.cpp #80

Open
alvinhu opened this issue Feb 16, 2022 · 2 comments
Open

RuntimeError: src/ngtpy.cpp #80

alvinhu opened this issue Feb 16, 2022 · 2 comments

Comments

@alvinhu
Copy link

alvinhu commented Feb 16, 2022

running in python 3.9 get follow error:

$ imgdupes --recursive datasets phash 4
Building NGT index (dimension=64, num_proc=15)
Traceback (most recent call last):
File "/home/huzhuolei/miniconda3/envs/imgdupes/bin/imgdupes", line 230, in
main()
File "/home/huzhuolei/miniconda3/envs/imgdupes/bin/imgdupes", line 226, in main
dedupe_images(args)
File "/home/huzhuolei/miniconda3/envs/imgdupes/bin/imgdupes", line 94, in dedupe_images
deduper.dedupe(args)
File "/home/huzhuolei/miniconda3/envs/imgdupes/lib/python3.9/site-packages/common/imagededuper.py", line 172, in dedupe
ngt_index.batch_insert(self.hashcache.hshs(), num_proc)
RuntimeError: src/ngtpy.cpp:

@amulikhov-mannequin
Copy link

have the same bug on python 3.8.12 and imgdupes 0.1.1

@alvinhu
Copy link
Author

alvinhu commented Mar 7, 2022

I have used the docker version instead, and it works smoothly. The docker file will install NGT, hnsw and Faiss automatically. We can copy the installation script out and run it at conda environment to make the correct dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants