Is there a guide or a google notebook I can use for converting ONNX to HEF?

I’ve managed to train a YOLO8 model using google colab but I’m struggling converting it to HEF. Could someone who’s done this with colab point me to a guide? I’m surprised there isn’t one already

1 Like

Hi
I am also trying the achieve the similar thing and found this guide for Yolov11 somewhere in the community.
This walkthrough should work, but there is an issue with: it doesn’t utilize any GPU. If you are ok with that, you can give try and it will work, but probably will take some more time (note that in order for that notebook to work you will need to downgrade python in the google colab to 3.10).

!sudo apt-get install python3.10
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
!sudo update-alternatives --set python3 /usr/bin/python3.10
!python --version

However, I haven’t completed it since the CPU optimization step takes too much time, and that is not okay with me.

So now I am trying to find a way to actually use the available GPU.

PS
Can’t find an original post, so sorry for not quoting

1 Like

Actually, found a guide

Also, if you will carefully read through the author of the guide also provides the solution on how to enable GPU in the colab.

1 Like