While running the following code:
genderProto = "gender_deploy.prototxt" genderModel = "gender_net.caffemodel" ageNet = cv2.dnn.readNet(ag