{"record":{"id":"d503d498fd0eda66","repo":"tensorflow/models","slug":"the-mode-is-not-implemented-s-d503d4","errorCode":null,"errorMessage":"The mode is not implemented: %s","messagePattern":"The mode is not implemented: (.+?)","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"official/modeling/fast_training/progressive/train_lib.py","lineNumber":118,"sourceCode":"      controller.train_and_evaluate(\n          train_steps=params.trainer.train_steps,\n          eval_steps=params.trainer.validation_steps,\n          eval_interval=params.trainer.validation_interval)\n    elif mode == 'eval':\n      controller.evaluate(steps=params.trainer.validation_steps)\n    elif mode == 'continuous_eval':\n\n      def timeout_fn():\n        if trainer.global_step.numpy() >= params.trainer.train_steps:\n          return True\n        return False\n\n      controller.evaluate_continuously(\n          steps=params.trainer.validation_steps,\n          timeout=params.trainer.continuous_eval_timeout,\n          timeout_fn=timeout_fn)\n    else:\n      raise NotImplementedError('The mode is not implemented: %s' % mode)\n\n  if run_post_eval:\n    with distribution_strategy.scope():\n      return trainer.model, trainer.evaluate(\n          tf.convert_to_tensor(params.trainer.validation_steps))\n  else:\n    return trainer.model, {}\n","sourceCodeStart":100,"sourceCodeEnd":126,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/modeling/fast_training/progressive/train_lib.py#L100-L126","documentation":"Error \"The mode is not implemented: %s\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/modeling/fast_training/progressive/train_lib.py:118 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"}