I fence my gardens off to keep them out. Also, the mood lamp seems to attract zombies, so I have one a little bit away from my garden, but close enough that they can see it. When they start spawning, I turn it on and they seem to just gravitate toward it.