Training given to farmers