depthai icon indicating copy to clipboard operation
depthai copied to clipboard

[BUG] Online conversion tool not working with yolov8

Open alejoGT1202 opened this issue 1 year ago • 1 comments

Hello I trained a two class yolov8n model using Ultralytics version 8.2.93

Then I tried to use the conversion tool to export my model as a blob to use it on my device. However when the tool is doing the conversion it shows and the following error message.

image

Then I used the old tool http://blobconverter.luxonis.com/, which converted my model as a blob. However, when I tried to use my converted file with the YOLO node in my pipeline I got the following error

[DetectionNetwork(4)] [error] Mask is not defined for output layer with width '4620'. Define at pipeline build time using: 'setAnchorMasks' for 'side4620'.

Therefore I decided to use the NeuralNetwork node and decode the output by myself but when I do this I get the following error

[system] [critical] Fatal error. Please report to developers. Log: 'Fatal error on MSS CPU: trap: 00, address: 00000000' '0' Traceback (most recent call last):

I would like to ask what is the right approach to deploy my custom model into the device.

Thanks for your help

alejoGT1202 avatar Sep 15 '24 17:09 alejoGT1202

Hi @alejoGT1202 Have you tried preparing the model like done here?

Thanks

jakaskerl avatar Oct 01 '24 10:10 jakaskerl