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

Issue Training Gender #105

Open
osseney opened this issue Jun 22, 2020 · 2 comments
Open

Issue Training Gender #105

osseney opened this issue Jun 22, 2020 · 2 comments

Comments

@osseney
Copy link

osseney commented Jun 22, 2020

Even after training gender for 30k steps at 0.001, guess.py only guesses ONE value.

For example, it will guess the gender of the first picture to be F at 0.56 probability. It will also guess every other picture I feed it as F at 0.56 probability, even if the picture should be M.

Here's the command I use:

python train.py model_type bn --train_dir /home/autumn/tensor/AgeGenderDeepLearning-master/Folds/gender_test_fold_is_0 --max_steps 30000 --eta 0.001

python guess.py --model_dir ~/tensor/AgeGenderDeepLearning-master/Folds/gender_test_fold_is_0/run-142133/ --class_type gender --filename ~/tensor/cnnimages/

Works fine for age, but not for gender.

@dpressel
Copy link
Owner

The docs for the learning rate and LRS were specifically for the original Levi-Hassner model (see #35). You might have to experiment a bit to get a learning regimen that works for that model

@osseney
Copy link
Author

osseney commented Jun 23, 2020 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