littletomatodonkey/insight-face-paddle

Error with Build Index

oggyfaker opened this issue · 1 comments

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 !

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!