Hi all!
I'm trying to implement my custom yolov5 model into the oak-d-lite camera but i stumbled upon an issue where i didnt find much help.
The model was trained and i got an .onnx file, which worked pretty well directly through openCV. I did the conversion into .blob using http://blobconverter.luxonis.com/ and obtained my .blob file. Also i've made the corresponding JSON config file as instructed, changing the number of classes and their labes as shown on the bottom of the page here https://github.com/luxonis/depthai-ml-training/blob/master/colab-notebooks/YoloV5_training.ipynb
Now onto the issue.
I've loaded up my blob and cfg into the program and this error keeps popping out.
[1844301041DDC21200] [33.853] [DetectionNetwork(1)] [error] Mask is not defined for output layer with width '6'. Define at pipeline build time using: 'setAnchorMasks' for 'side6'.
Any help is appriciated!