potholes-detection
potholes-detection copied to clipboard
ValueError:You are trying to load a weight file containing 2 layers into a model with 44 layers
I run this command line
python predict.py -c config.json -w weights/trained_wts.h5 -i images/1.jpg
and get error ValueError: You are trying to load a weight file containing 2 layers into a model with 44 layers.
any ideas how to fix it
Thank you
Looks like the weight file is wrong. Request you to post the correct weight file or specify the suitable backend. Thanks for your effort and time.
Kindly upload the proper weight file or delete this rep. People come with hopes and get nothing
#3 Workaround