leetenki/YOLOv2

problem in yolov2_darknet_parser.py

amazarashi opened this issue · 2 comments

when I was executing
python yolov2_darknet_parser.py yolo.weights

I had a error like,

File "yolov2_darknet_parser.py", line 87, in <module>
    exec(txt)
  File "<string>", line 1, in <module>
ValueError: cannot reshape array of size 12265129 into shape (1024,3072,3,3)

Is the model construction correct ?

same issue, it seems like the darknet change the its weights

yo can get weight file from here
link

you should choose yolo.weights