Use generator for grid point trainers