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

Request for verifying my steps for training #4

Open
gd1925 opened this issue Oct 4, 2023 · 1 comment
Open

Request for verifying my steps for training #4

gd1925 opened this issue Oct 4, 2023 · 1 comment

Comments

@gd1925
Copy link

gd1925 commented Oct 4, 2023

Hi,

I have been working on trying to understand the steps for training and obtaining my model for - age_gender_tf2_224_deep-03-0.13-0.97.pb
I followed a previously asked question - #2 (comment)
mentioning the two scripts - facerec_keras_train.py and age_gender_train.py. As per my understanding, the following two step training process is required :

  1. Training the baseline model with facerec_keras_train.py:
  • Download the VGGFace2 dataset.
  • Run the Training Script - Execute facerec_keras_train.py to start the training on VGGFace2.
  • (I presume this will give me - vgg2_mobilenet.pb
  1. Training the age and gender model with age_gender_train.py:
  • Data Preparation: Concatenate IMDB-Wiki and Adience datasets
  • Organize data into two main folders: age and gender. Each of them should contain train and val subfolders that include images for training and validation respectively.
  • Correct age mistakes manually in IMDB-Wiki and utilize the midpoint of age ranges in Adience as ground truth labels (not sure about this)
  • Adjust Paths and Labels : Ensure paths in age_gender_train.py are correctly pointing to the data.
  • Run the Training Script: Execute age_gender_train.py

Is my understanding correct?
Also another issue I am facing is - I haven't been able to download VGGFace2 Dataset. While I came across VGGFace2 HQ repo so I have downloaded these - https://github.com/NNNNAI/VGGFace2-HQ but would training on these give a different model backbone model?
Thank you so much in advance!!

@mingrongchen
Copy link

mingrongchen commented Oct 4, 2023 via email

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