xslittlegrass / CarND-Vehicle-Detection

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

Reading of Pre-trained weights #22

Open HarshdeepGupta opened 6 years ago

HarshdeepGupta commented 6 years ago

In the load_weights function in utils.py file, there is this line which does:

data=data[4:] This ignores the first three values of the loaded weights array. Can someone please tell why do we need to do this?