thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.08k forks source link

Using flow for converting yolov2-tiny.cfg and yolov2-tiny.weights to .pb does not work #981

Closed prateethvnayak closed 5 years ago

prateethvnayak commented 5 years ago

I downloaded the yolov2-tiny.cfg and yolov2-tiny.weights from official Darknet page the commands ./flow --model cfg/yolov2-tiny.cfg --load weights/yolov2-tiny.weights --savepb gives the following error : AssertionError: expect 44948596 bytes, found 44948600

sharived commented 5 years ago

I'm having the same problem with a custom yolov2 model AssertionError: expect 202663260 bytes, found 202663264

Seems to be consistently off by 4 bytes

prateethvnayak commented 5 years ago

It is Solved in #802 Comment Closing the Issue