error in evaluate is raised if len(labels) does not match gm.numberOfLabels

error in evaluate is raised if len(labels) does not match gm.numberOfLabels