Python was used as the programming language, PyTorch 2.2.2 was adopted as the deep learning framework, and CUDA 12.8 was used for GPU acceleration. Weed images were annotated using LabelImg, and all ...