{"record":{"id":"4db6c40e5641df4f","repo":"tensorflow/models","slug":"it-is-unexpected-that-tfds-builder-is-none-and-t","errorCode":null,"errorMessage":"It is unexpected that `tfds_builder` is None and there is also no `files`.","messagePattern":"It is unexpected that `tfds_builder` is None and there is also no `files`\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/core/input_reader.py","lineNumber":418,"sourceCode":"              files,\n              dataset_fn,\n              input_context,\n              seed=self._seed,\n              is_training=self._is_training,\n              sharding=self._sharding,\n              cache=self._cache,\n              cycle_length=self._cycle_length,\n              block_length=self._block_length,\n              deterministic=self._deterministic)\n      elif len(files) == 1:\n        return _read_files_then_shard(\n            files,\n            dataset_fn,\n            input_context,\n            sharding=self._sharding,\n            repeat=self._is_training and not self._cache)\n      else:\n        raise ValueError('It is unexpected that `tfds_builder` is None and '\n                         'there is also no `files`.')\n\n    if self._tfds_name:\n      if isinstance(self._tfds_name, cfg.base_config.Config):\n        dataset = {}\n        for k, tfds_name in self._tfds_name.as_dict().items():\n          dataset[k] = _read_tfds(\n              tfds_name=tfds_name,\n              tfds_data_dir=self._tfds_data_dir,\n              tfds_split=self._tfds_split,\n              tfds_skip_decoding_feature=self._tfds_skip_decoding_feature,\n              tfds_as_supervised=self._tfds_as_supervised,\n              input_context=input_context,\n              seed=self._seed,\n              is_training=self._is_training,\n              cache=self._cache,\n              cycle_length=self._cycle_length,\n              block_length=self._block_length)","sourceCodeStart":400,"sourceCodeEnd":436,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/core/input_reader.py#L400-L436","documentation":"Error \"It is unexpected that `tfds_builder` is None and there is also no `files`.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/core/input_reader.py:418 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"}