{"record":{"id":"6ea4edf1aaa4d711","repo":"tensorflow/models","slug":"evaluator-s-is-not-supported","errorCode":null,"errorMessage":"Evaluator %s is not supported.","messagePattern":"Evaluator (.+?) is not supported\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/legacy/detection/evaluation/factory.py","lineNumber":50,"sourceCode":"  elif params.type == 'oln_xclass_box':\n    evaluator = coco_evaluator.OlnXclassEvaluator(\n        annotation_file=params.val_json_file, include_mask=False,\n        use_category=False, seen_class=params.seen_class,)\n  elif params.type == 'oln_xclass_box_and_mask':\n    evaluator = coco_evaluator.OlnXclassEvaluator(\n        annotation_file=params.val_json_file, include_mask=True,\n        use_category=False, seen_class=params.seen_class,)\n  elif params.type == 'oln_xdata_box':\n    evaluator = coco_evaluator.OlnXdataEvaluator(\n        annotation_file=params.val_json_file, include_mask=False,\n        use_category=False, seen_class='all',)\n  elif params.type == 'shapemask_box_and_mask':\n    evaluator = coco_evaluator.ShapeMaskCOCOEvaluator(\n        mask_eval_class=params.mask_eval_class,\n        annotation_file=params.val_json_file, include_mask=True)\n\n  else:\n    raise ValueError('Evaluator %s is not supported.' % params.type)\n\n  return coco_evaluator.MetricWrapper(evaluator)\n","sourceCodeStart":32,"sourceCodeEnd":53,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/legacy/detection/evaluation/factory.py#L32-L53","documentation":"Error \"Evaluator %s is not supported.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/legacy/detection/evaluation/factory.py:50 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e006f5f0d534913e49c1f1dae87364039fa607e2","analyzedAt":"2026-08-24T14:09:15.576Z","schemaVersion":2},"datasetVersion":"2026-08-24T17:17:21.512Z"}