How to use YOLOX.onnx for object detection in matlab
8 views (last 30 days)
Show older comments
Dear friends:
I used python to train a YOLOX target detection model based on pytorch and exported it to onnx format. There was a problem when performing target detection in matlab:"Incorrect number or types of inputs or outputs for function detect."
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1798695/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1798715/image.png)
support onnx and test image file:https://github.com/Jklblue/support-files/tree/main
0 Comments
Answers (1)
Akshat Dalal
on 25 Oct 2024
Using YOLOX in MATLAB requires installing the "Automated Visual Inspection Library for Computer Vision Toolbox" add-on. Can you please check if you have it? If not, you can download the library either through the MATLAB Home tab by navigating to Add-Ons -> Get Add-Ons, or by using the link below.:
See Also
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!