Open maikhang opened 3 years ago
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.
hi, when i run:![image](https://user-images.githubusercontent.com/67750373/111330700-c4d43e80-86a2-11eb-85bb-cd7def21d1f6.png)
python demo.py
it error:anyones help me, thanks so much!!!