-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has anyone been able to create their own model? #100
Comments
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? |
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 . |
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 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?
The text was updated successfully, but these errors were encountered: