Error with Build Index
oggyfaker opened this issue · 1 comments
oggyfaker commented
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
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
Hope to see your reply soon !
littletomatodonkey commented
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:
insight-face-paddle/insightface_paddle.py
Line 631 in 44a994a
We will fix it later, thx!