I am having issues converting the YOLOv8 model to Caffe. I tried to convert it from ONNX to Caffe, but I had some issues with the split layer. I also tried converting the Pytorch model to Caffe but I faced issues with some libraries. What is the best way of converting the YOLOv8 model to Caffe?
If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.
As an alternative, I tried using the mmdnn library from Microsoft to do the conversion and I faced unpickling error when I tried to convert the pytorch model to caffe. I tried converting from onnx to caffe as well and encountered import errors with onnx_pb2. I later found that YOLO in the mmdnn is unsupported for caffe.
Not yet. I wasn’t sure if this was a problem with the conversion libraries I used or with the version conflicts with other libraries. I was able to successfully install and import caffe so I don’t think caffe is the issue.
We recommended to convert the ONNX model into TensorRT instead.
As TensorRT has optimized the DL use case for Jetson on both performance and memory usage.