Following the https://docs.ultralytics.com/yolov5/tutorials/model_export instructions I package a pretrained yolov5n onnx model and upload it to the https://blobconverter.luxonis.com blob converter with default parameters. I then load the blob into the https://docs.luxonis.com/software/depthai/hello-world hello world script (and update the preview size to 640,640) and run it with my plugged in OAK-1. I get this error:

[1844301071FC44F500] [1.2] [1.836] [XLinkOut(3)] [error] Message has too much metadata (417779B) to serialize. Maximum is 51200B. Dropping message

Here is a public repo to reproduce the error.

https://bitbucket.org/serobo/oak1public/src/master/

    2 months later

    Hi @jakaskerl

    I have the same error but every time I try converting my .pt-file using the website I get "Error while loading the model"

      Johnny-McGee
      Is the size above 300MB, I believe this is the limit?
      Maybe check the browser console logs; perhaps there is some info there.

      Thanks,
      Jaka

        I will update my own post about this since you have already answered there.

        a month later

        jakaskerl i also got An error occurred while loading model when trying to upload my yolov5 model. Previously, i trained this using ultralytics library. After i finished, i tried to upload it to https://tools.luxonis.com. my model have 640x640 input size and a file size around 14MB. i don't know why this happen. I tried the RVC2 and RVC3 but i still got the same error.