Darkflow: How to convert darknet model to tensorflow model

Created on 15 Jan 2018  路  7Comments  路  Source: thtrieu/darkflow

Excuse me, I wanna ask how to convert darknet yolov2 model to tensorflow format. Of course, I read readme but found how to train using darknet config file. I only want to convert darkent model (cfg and its params) to tensorflow's format.

Thanks in advance馃檱

question

Most helpful comment

is there any issue for yolov4?

All 7 comments

@ysh329 To convert the darknet .weights and .cfg to a TensorFlow .pb (along with some darkflow metadata contained in .meta) try the instructions detailed here, specifically the second line pertaining to _Saving graph and weights to protobuf file._

Your command should look something like this:

flow --model cfg/yolo.cfg --load bin/yolo.weights --savepb

@abagshaw Thanks a lot, my big brother 馃憤 I'll have a try right now~

This cannot convert yolov3 model to Tensorflow
Issue is still open

this issue is for yolov3 support #884

@prateethvnayak @zrobotparking For coverting yolo-v3 to TensorFlow, give this a try:
https://github.com/jinyu121/DW2TF

@prateethvnayak @zrobotparking For coverting yolo-v3 to TensorFlow, give this a try:
https://github.com/jinyu121/DW2TF

Below link also work:
https://github.com/Microsoft/MMdnn/blob/master/mmdnn/conversion/darknet/README.md

is there any issue for yolov4?

Was this page helpful?
0 / 5 - 0 ratings