{"record":{"id":"f7518cc1f794d643","repo":"tensorflow/models","slug":"must-provide-at-least-one-of-training-file-pattern","errorCode":null,"errorMessage":"Must provide at least one of training_file_pattern and eval_file_pattern.","messagePattern":"Must provide at least one of training_file_pattern and eval_file_pattern\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/legacy/detection/main.py:218","lineNumber":218,"sourceCode":"  if not training_file_pattern and not eval_file_pattern:\n    raise ValueError('Must provide at least one of training_file_pattern and '\n                     'eval_file_pattern.')","sourceCodeStart":null,"sourceCodeEnd":null,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/legaacy/detection/main.py#L218","documentation":"Error \"Must provide at least one of training_file_pattern and eval_file_pattern.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/legaacy/detection/main.py:218 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"}