Architecture and hyperparameter optimization of YOLOv5 and YOLOv8 for weed detection in garlic fields | Synapse