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

run demo.py in "age_estimation" folder #138

Open
maikhang opened this issue Mar 16, 2021 · 2 comments
Open

run demo.py in "age_estimation" folder #138

maikhang opened this issue Mar 16, 2021 · 2 comments

Comments

@maikhang
Copy link

hi, when i run:
python demo.py
it error:
image

anyones help me, thanks so much!!!

@isbiong100
Copy link

Your cuda may have an error

@RTnhN
Copy link

RTnhN commented Jun 18, 2021

This is pretty old, but maybe it will help others.

I had this problem too. I found this stack overflow answer that helped me. You just need to add by_name=True in the model.load_weights(weight_file) method call. It should be model.load_weights(weight_file,by_name=True). It worked for me, so it might work for you too.

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

3 participants