yolov3-tiny model convert problem
I training yolov3-tiny to generate *.weights file, and I convert it to TensorFlow format(*.pb).
Then I use "tensorflow2onnx.py" to convert, I got this error.
And then, when I do "fpAnalyserCompilerIpevaluator_520.py -t 8" after deleting these nodes, I got another error like this.
The first network viewer is the TensorFlow model after conversion, and the other one is removed nodes.
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
Hi,
I see a couple of issues when editing the ONNX graph:
Here is a graph the ONNX should be edited. Please see the red line.
Hi, I'm trying to do this, but it seems like the same problem for me.
By the way, I used the ONNX file is convert by "tensorflow2onnx".
Before I do it, the output shows me some error log, but I still can get the ONNX output.
I'm not sure it may cause a problem?
This is my original PB file, could you help to check my convert problem?
Thanks.
I think this problem was solved.
Because I change to use PyTorch to generate Onnx file and do convertor in the toolchain.
So, input size will be normal after convert.
But I still have some questions about other steps.
I will post the new discussion.
I think the tensorflow2onnx might have some issue handling the input size. What I recommend you to do is to transfer the pb file into tensorflow lite file first, then use tflite2onnx script to transfer to onnx instead.
It doesn't work for me.
Could you share yolov3 convert steps?
Thanks.
soon we will post a step-by-step tutorial here.
For processing with model yolo v3, please refer to the our document center.