Yolov8 has been a little broken since they started moving everything from keras_cv to keras_hub. I think they have been working on it. I have not been able to get sensible results in my own recent work with YOLOv8 keras. I am also having a problem with surplus boxes showing up when I validate, low map, and I think there may be some weird behavior with the data augmentation pipeline.
I think it would be awesome if the team published an updated example soon that works seamlessy with the new hub