Scientific Reports, Published online: 11 June 2026; doi:10.1038/s41598-026-52345-6 Lightweight CNN SE transformer for robust weed classification with optimizer aware performance