Open tjkusnadi opened 2 years ago
I will try, but i didn't understand how to resize the images to create the dataset.. it works for you or did you understand how to work with images or what kind of problems did you had ?
did you were able to train the model?
nope.
how many images for each classes?
how do you get the datasets?
300k live, 700k spoof
could please publish this project
How to prepare the data for retraining? I did not understand pre-processing stage
Try to search data gathering portals (Toloku)
@nurmukhammeds thank you for your response, but gathering is not problem. I have my data, but the accuracy of the model is not enough for me, so I want to add my data too, while keeping already computed weights (retrain). However, I could not even find good documentation for preparing data for training. The orginal image sizes must be the same? Or they can be different? How to split fake and real ones in the folder? And other questions. So, can you please provide some roadmap for retraining the existing models with my own dataset.
So, if you want to retrain existing models keeping weights, use patch size in the models name and resize your data to corresponding size with patch scale. Data directory can be structured as shown in Readme .
So, if you want to retrain existing models keeping weights, use patch size in the models name and resize your data to corresponding size with patch scale. Data directory can be structured as shown in Readme .
I understood, but how to split the traing data (real, fake faces)? In the code, there are 3 classes, why? What kind of classes?
Then, please, can you share the .py file for creating patches? generate_patches.py includes only CropImage class without usage example code.
Did someone understand why are there 3 classes and the kind of those classes? And finally, which size of the images and how to separate them?
folder 0 - 2D fake folder 1 - real folder 3 - 3D fake
If you have only two cases (real and fake photos), then you don't need to have folder 3 which holds 3D fake photos.
folder 0 - 2D fake folder 1 - real folder 3 - 3D fake
If you have only two cases (real and fake photos), then you don't need to have folder 3 which holds 3D fake photos.
Are you sure? Cuz, they said directories 0, 1, 2 folders are for different scales of images (not for different classes). Please, correct me if I'm wrong
How many datasets are used? How many images?