insightface

格式:
1 img_path1 0 
1 img_path2 0 
... 
1 img_path3 1 
1 img_path4 1 
.... 
... 
1 img_path5 10000 
1 img_path6 10000

1)请确保第3列是标签ID(person_id)。对于来自同一个人的图像,它应该是相同的。

2)调整线顺序以确保来自相同ID的图像是连续的。而且标签ID应该从0开始。

3)起始1表示此图像已经对齐,它不是索引。

其生成lst,rec与mxnet的基本参数构成相同:

python glint2lst.py  /picture(msra所在主目录)  msra  >(与生成lst目录)

猜你喜欢

转载自blog.csdn.net/weixin_38740463/article/details/81746652