run demo.py in "age_estimation" folder
maikhang opened this issue · comments
Your cuda may have an error
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.