Voian Andrei
Voian Andrei
I found a list of projects that implemented OBB, maybe it will help someone. [OBB](https://github.com/sjinzh/awesome-yolo-object-detection#oriented-object-detection)
It was from ultralytics.
It wasn’t fixed, I still have this problem. My version is 0.61.0
I found the problem, the pnnx binary that ultralytics use isn't compatible with aarch64, we must build it from source to work.
Could you @glenn-jocher add the pnnx binary for aarch64? The instructions for building the binary are on https://github.com/pnnx/pnnx. Also i already have the pnnx binary if you want it.
Ok, so if I run this everything is fine: ``` from ultralytics import YOLO model = YOLO('/content/drive/MyDrive/yolov8n_ncnn_model/yolov8_last.pt') model.export(format='ncnn') results = model.predict(source = "/content/drive/MyDrive/1.jpg") ``` ``` Ultralytics YOLOv8.0.141 🚀 Python-3.10.6 torch-2.0.1+cu118...
Also i get this: ``` Ultralytics YOLOv8.0.141 🚀 Python-3.10.6 torch-2.0.1+cu118 CPU (Intel Xeon 2.30GHz) YOLOv8n summary (fused): 168 layers, 3151904 parameters, 0 gradients PyTorch: starting from 'yolov8n.pt' with input shape...
I found that i didn't have `metadat.yaml` in `yolov8_last_ncnn`model folder because I failed to export the .pt weight to NCNN with ultralytics on Raspberry Pi 4, so i exported first...
Also i get the `AttributeError: 'PosixPath' object has no attribute 'items'` and `layer pnnx.Input not exists or registered` on both Google Colab and Raspberry pi 4. You can try to...
@glenn-jocher thanks for the response, I want to clarify the the steps to run inference for NCNN: So after i export the .pt to NCNN I'll have a folder named...