• DepthAI
  • Error in Automatic Yolo export for OAKs

Hello guys.
I want to convert my own yolov8n.pt to xxx.blob and when I submit the xx.pt, error happend? I want to know what happend, and how to convert the xxx.pt of my own to xxx.blob.
Thank you!

Input shape is the size of the images the model was trained on. '6' is not something yolov8 supports. 640 is the default for yolov8.

    vital Hi, so how can I set the parameter of the model was trained on? Is any reference doc there?
    Thank you!

    Find the directory best.pt is in, called 'weights', and go one up to find a file called opt.yaml, open that and find 'imgsz' field.