Part Number: PROCESSOR-SDK-AM62A
Hello,
I'm trying to compile custom onnx model under Linux SDK 9.00.00.08 with edgeai-tidl-tools.
At first, I downloaded yolox-s model from following URL and converted pytorch to onnx by using conversion script.
https://github.com/Megvii-BaseDetection/YOLOX
https://github.com/Megvii-BaseDetection/YOLOX/blob/main/tools/export_onnx.py
However, this script did not output prototxt file, so I performed following script to get prototxt file.
https://github.com/axinc-ai/export-to-onnx/blob/master/onnx2prototxt.py
However, when I compiled onnx model with prototxt, complier output error kind of invalid variable for prototxt.
When I compared prototxt with pre-installed prototxt, I noticed that format was different.
Then I have following question.
Q1, Is there any way to output prototxt by using onnx model for TIDL ?
Q2, If no, should I need to convert pytorch to onnx by using following method ?
https://github.com/TexasInstruments/edgeai-mmdetection/blob/master/docs/det_usage.md
If you have any solution, please let me know.
Best Regards,