generalized evalGenderRecognition script