Hello everyone, I’ve been experimenting with Yolov8s training and have trained it to detect a 50x50 cm red ball. My resolution 1024x1024, I configurate more YAML file to resolution 1024х1024
results = model.train(
data=f’{dataset_dir}/data.yaml’,
epochs=50,
imgsz=1024,
device=“0,1”,
batch=8,
name=‘Ball1024’
)
После этого я преобразовал в onnx и с помощью hailomz конвертировал в .hef
hailomz compile
–ckpt runs/detect/Ball10243/weights/best.onnx
–calib-path Ball_cvat/valid/images
–yaml hailo_model_zoo/hailo_model_zoo/cfg/networks/yolov8s.yaml
–classes 1
–end-node-names /model.22/cv2.0/cv2.0.2/Conv /model.22/cv3.0/cv3.0.2/Conv /model.22/cv2.1/cv2.1.2/Conv /model.22/cv3.1/cv3.1.2/Conv /model.22/cv2.2/cv2.2.2/Conv /model.22/cv3.2/cv3.2.2/Conv
–hw-arch hailo8
My final goal is to make the red ball detect at higher resolution, 1024x1024, but I have a bounding box that is moving, more precisely, the model detects the ball but the bounding box is shifted down to the right, how can I fix this? I would greatly appreciate your help!!!