Skip to content
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

How to fine tune the pre-trained model? #27

Open
cansik opened this issue Jun 21, 2022 · 3 comments
Open

How to fine tune the pre-trained model? #27

cansik opened this issue Jun 21, 2022 · 3 comments

Comments

@cansik
Copy link

cansik commented Jun 21, 2022

Thank you for creating this project. I am looking into fine-tuning the pretrained model and wanted to ask how I should approach this? Is it enough to just load the pretrained model in train.py and use my custom dataset to adapt to? Or are there more steps involved?

@fire717
Copy link
Owner

fire717 commented Jun 21, 2022

Yes u can just load pretrained model in train.py and use my custom dataset.
And the pretrained model is 17 keypoints, ur data should be the same.

@cansik
Copy link
Author

cansik commented Jun 23, 2022

Great, that seems to work just fine, thanks. Regarding data augmentation, I found some scripts regarding data augmentation, but I could not find any settings or something where I can control how the data is augmented. Or is there a pre-processer script to use?

@fire717
Copy link
Owner

fire717 commented Jun 24, 2022

Um...Data control...Maybe you mean Dataloader (from image loading to label making before put into network)? It's in
lib/data/data_tools.py

Or if you mean how to do data augmentation, all augmentation function is written in
lib/data/data_augment.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants