xslittlegrass / CarND-Vehicle-Detection

Vehicle detection using YOLO in Keras runs at 21FPS
389 stars 175 forks source link

ValueError: cannot reshape array of size 136269 into shape (3,3,1024,1024) #12

Closed ManjeeraJagiri closed 7 years ago

ManjeeraJagiri commented 7 years ago

When I am running the code, I recieve the following error- File "C:\Users\in0131\Downloads\CarND-Vehicle-Detection-master\CarND-Vehicle-Detection-master\utils\utils.py", line 21, in load_weights ker = data[index:index+np.prod(kshape)].reshape(kshape) ValueError: cannot reshape array of size 136269 into shape (3,3,1024,1024)

Any idea on how to proceed?

IanBoyanZhang commented 7 years ago

Looks like you are using mismatched pre-trained weight.

ManjeeraJagiri commented 7 years ago

I downloaded the wrong set. Thanks a lot!