gp.y 2d-->1d with np.squeeze in trainers.py