reu2018DL / YOLO-LITE

All the trained models used while developing YOLO-LITE
360 stars 119 forks source link

TypeError: buffer is too small for requested array #10

Open mxzf0213 opened 5 years ago

mxzf0213 commented 5 years ago

Excuse me, I'm new here. I try to convert your project's tiny-yolov2-trial3-noBatch.cfg and tiny-yolov2-trial3-noBatch.weights into .h5 with yad2k.py, but I get the error 'Traceback (most recent call last): File "yad2k.py", line 270, in _main(parser.parse_args()) File "yad2k.py", line 156, in _main buffer=weights_file.read(weights_size * 4)) TypeError: buffer is too small for requested array'. BTW, I'm confused that it's ok when I change the files using tiny-yolov2-trial3.cfg and tiny-yolov2-trial3.weights, can you explain what's wrong?