Hi,
Are you sure your fencing is working properly and gives a good "Kick"?? Is your energiser powerfull enough? Have you got a good earth? and is tall vegitation causing a power loss to earth??
We have always found that once the pigs get a zap or two they will stay well away from the electric line, from a very early age.
Thanks