• DepthAI-v2
  • An error occurred, Error while loading model

When attempting to convert our model at http://tools.luxonis.com/ I keep getting "An error occurred, Error while loading model"

Not sure if the service is down?

Also we have converted an onnx model at https://blobconverter.luxonis.com/

But when running I always get the following error.

[1844301021E05B1200] [169.254.1.222] [8.138] [XLinkOut(3)] [error] Message has too much metadata (413589B) to serialize. Maximum is 51200B. Dropping message

Any ideas on how to resolve either would be much appreciated.

jakaskerl

We trained the model from many sample images and exported as yolo. It works when tested in other environments.

Is there a likely reason why <http://tools.luxonis.com/ ](http://tools.luxonis.com/)is giving errors and not loading? Is a 54mb file too big?

Thank you for your suggestion so far, we have tried it with a confidence threshold at 0.9 with the same results.

    jakaskerl Hi, I trained yolov5s model using this link:

    https://github.com/luxonis/depthai-ml-training/blob/master/colab-notebooks/YoloV5_training.ipynb

    which is ultralytics-based. I keep image size 416.

    We are using oak-1 PoE:

    https://shop.luxonis.com/products/oak-1-poe?variant=43905799913695

    Can you please guide us to a specific tutorial? Any help would be appreciated. Thanks,

      Hi @Ajmalshahbaz and @dairy

      This is good.

      dairy We trained the model from many sample images and exported as yolo. It works when tested in other environments.

      Good.

      dairy Thank you for your suggestion so far, we have tried it with a confidence threshold at 0.9 with the same results.

      Good, metadata should be lower unless there is a model error.

      dairy Is there a likely reason why <http://tools.luxonis.com/ ](http://tools.luxonis.com/)is giving errors and not loading? Is a 54mb file too big?

      I think the cap is set at 130MB, so unlikely. What are you using to convert your model then? Are there any logs when trying to convert using tools? You can check browers dev console if there are any more in-depth error logs there.

      Thanks,
      Jaka

        Hi @dairy,

        The size limit set in tools is actually 300MB, so YoloV5s should be totally fine. Could you please share your weights with us so that we might take a closer look? Also what is your desired input image shape?

        Kind regards,
        Jan

        3 months later
        2 months later

        Having the same issue here as well. Would appreciate any information.

          Hi Johnny-McGee,

          could you please provide more information, such as what model are you trying to export, what platform (RVC2 or RVC3), and what input shape?

          Best

          Jan

            JanCuhel Model is Yolov5n but the same happened with yolov5s and yolov5m. Platform is RVC2 (but throws the same error with RVC3) and the input shape is 640 since that the image shape yolov5 expects