ronghuaiyang / arcface-pytorch

1.76k stars 392 forks source link

How can I get the txt file train_list? #40

Open slimwangyue opened 5 years ago

slimwangyue commented 5 years ago

How can I get the txt file train_list?

DENGZAIXU commented 5 years ago

The same problem as you ,did you get the txt file?

upsx commented 5 years ago

How can I get the txt file train_list?

do you have solved the problem?i met it too?

ehp commented 5 years ago

It is part of casia dataset but you can create your own. It is in form of:

0000463/043.jpg 0000463
0004971/090.jpg 0004971
0663469/111.jpg 0663469
...

Each line is relative path to image and person id (same as directory name). Generate this file for all your images, shuffle the lines and split into training and validation file. My train file has 400000 lines and validation is the rest.

upsx commented 5 years ago

It is part of casia dataset but you can create your own. It is in form of:

0000463/043.jpg 0000463
0004971/090.jpg 0004971
0663469/111.jpg 0663469
...

Each line is relative path to image and person id (same as directory name). Generate this file for all your images, shuffle the lines and split into training and validation file. My train file has 400000 lines and validation is the rest.

thanks

barcahoo commented 4 years ago

@Tim-Sx did you get the txt file? could u plz send me a txt file or the codes to generate txt file? thanks a lot ,710529627@qq.com

QuasarLight commented 4 years ago

@Tim-Sx did you get the txt file? could u plz send me a txt file or the codes to generate txt file? thanks a lot ,710529627@qq.com You can use this project https://github.com/QuasarLight/Pytorch_Face_Recognition-