updated error messages for wrong training parameters in CvLR