Hi Jaka

I am trying to convert the yolov8n model which i trained recently howeven when i try to convert it i am getting this error

An error occurred

Error while loading model

Please try again or reach out to us on our Discuss or create an issue on GitHub

Yolo

May i know why is this happening.

This is what i trained on and i stopped after 500 epochs. !yolo task=detect mode=train model=yolov8n.pt data=data.yaml epochs=1200 imgsz=640 plots=True save=True save_period=5 project='/content/drive/MyDrive/yolov8/model1' name='model1' patience=100

What can i do to fix it ? Inference works fine only blob conversion there is an issue. Any other way to do it ?

Also what's the FPS i am expecting in yolov8n?

@jakaskerl

    ZachJaison
    How have you trained the model? Did you follow the notebook? There are some additional operations to prepare the model for conversion.

    Thanks,
    Jaka

    This is how i trained it assume each line is each cell:

    • !pip install ultralytics==8.3.0
    • !yolo task=detect mode=train model=yolov8n.pt data=data.yaml epochs=1200 imgsz=640 plots=True save=True save_period=5 project='/content/drive/MyDrive/yolov8_big/modelmain' name='modelmain' patience=100

    i stopped at 500 epochs and picked the best.pt which i used on tools.luxonis.com and got an error.

    From the notebook you have mentioned it does the same operation for converting to blob. Like go to tools.luxonis so may i know what are the additional prep for conversion?

    Will using the above notebook and training it again will make a difference? I have infer properly btw.

    The issue should be resolved now.

    Best,
    Jan