Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert darknet model to tensorflow model #527

Closed
ysh329 opened this issue Jan 15, 2018 · 7 comments
Closed

How to convert darknet model to tensorflow model #527

ysh329 opened this issue Jan 15, 2018 · 7 comments
Labels

Comments

@ysh329
Copy link

ysh329 commented Jan 15, 2018

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🙇

@abagshaw
Copy link
Collaborator

@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

@ysh329
Copy link
Author

ysh329 commented Jan 17, 2018

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

@prateethvnayak
Copy link

This cannot convert yolov3 model to Tensorflow
Issue is still open

@zrobotparking
Copy link

this issue is for yolov3 support #884

@sjain-stanford
Copy link

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

@woaiios
Copy link

woaiios commented Apr 15, 2019

@erkin98
Copy link

erkin98 commented Feb 25, 2021

is there any issue for yolov4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants