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

Error with Build Index #13

Closed
oggyfaker opened this issue Sep 13, 2021 · 1 comment · Fixed by #14
Closed

Error with Build Index #13

oggyfaker opened this issue Sep 13, 2021 · 1 comment · Fixed by #14

Comments

@oggyfaker
Copy link

hi author,
i have some problem when build the index for image. After i run this:
!python insightface_paddle.py --build_index ./demo/friends/index.bin --img_dir ./demo/friends/gallery/ --label ./demo/friends/gallery/label.txt

And have this error
240764712_3634879383215171_1923783281650875532_n

So i found the weird code like this, may be it caused the issue. So i changed args.rec = False but i have another issue
image
image

Hope to see your reply soon !

@littletomatodonkey
Copy link
Owner

Hi, sorry to see the issue so late, for build index, det must be set false and rec must be set true, when building index, you can remove this line:

raise Exception(warning_str)

We will fix it later, thx!

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

Successfully merging a pull request may close this issue.

2 participants