It sounds like you might be running into a few separate issues at once, so rather than trying to solve them all together, you might want to start with the end-to-end retraining-to-HEF example we have that targets exactly your setup (Hailo-10H on RPi5):
That guide walks through .pt → .onnx → .hef using hailomz compile in a single command, including NMS and calibration - just swap in your own .onnx file, point --calib-path to your validation images, and set --classes 12 for your class count. The key command would look roughly like:
Regarding the different class names you’re seeing - that’s likely not a model issue but rather the application-side labels config still pointing to the default COCO 80 classes. The LCU overflow (145/80) might mean the model variant is too large - if you’re using yolov8s you might try yolov8n instead.
If you’re still stuck after following the guide, it would help if you could share your exact compile command and the full error output so we can pinpoint what’s going wrong.