convert_yolo_weights
convert_yolo_weights copied to clipboard
tensorflow to onnx
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
Hi @qustions , You can try to convert from .weights to .h5, then convert it to .onnx. Please check it in the source code.