convert_yolo_weights icon indicating copy to clipboard operation
convert_yolo_weights copied to clipboard

tensorflow to onnx

Open qustions opened this issue 4 years ago • 1 comments

Hi, @phanxuanduc1996 I am trying to convert ylov3.weights to TensorFlow and from Tensorflow to onnx but I did not find TensorFlow to onnx in this repo so I tried tf2onnx but there it's asking inputs and outputs python -m tf2onnx.convert --checkpoint tensorflow-model-meta-file-path --output model.onnx --inputs input0:0,input1:0 --outputs output0:0 when i ran it its giving error AssertionError: output0 is not in graph

qustions avatar Jun 11 '20 21:06 qustions

Hi @qustions , You can try to convert from .weights to .h5, then convert it to .onnx. Please check it in the source code.

phanxuanduc1996 avatar Jun 12 '20 12:06 phanxuanduc1996