Open phonPtan opened 4 hours ago
Hi,
Thank you for your interest in our work.
The "source_list" is the path of the txt file to indicate your source dataset, the format is like this: /XXXXX-Your-Source-Dataset-PathXXXXX/XXXXX1.jpg {$quality labels} /XXXXX-Your-Source-Dataset-PathXXXXX/XXXXX2.jpg {$quality labels} /XXXXX-Your-Source-Dataset-PathXXXXX/XXXXX3.jpg {$quality labels} ...
The "target_list" is the path of the txt file to indicate your target dataset, the format is like this: /XXXXX-Your-Target-Dataset-PathXXXXX/{$target_label}/XXXXX1.jpg /XXXXX-Your-Target-Dataset-PathXXXXX/{$target_label}/XXXXX2.jpg /XXXXX-Your-Target-Dataset-PathXXXXX/{$target_label}/XXXXX3.jpg ...
Please note that the "target_label" need to be included in the data path to filter out data with a specific "target label".
The "pretrain_model" is the path of the pre-trained face recognition model with the ".pth" pytorch format.
How can i train in my dataset? You can define the source_list, target_list, target_label, pretrain_model parameters in config_train.py