{"record":{"id":"fd237b3bdb9818fd","repo":"tensorflow/models","slug":"tfds-name-is-s-but-tfds-split-is-not-specifi","errorCode":null,"errorMessage":"`tfds_name` is %s, but `tfds_split` is not specified.","messagePattern":"`tfds_name` is (.+?), but `tfds_split` is not specified\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/core/input_reader.py","lineNumber":283,"sourceCode":"    \"\"\"\n    if params.input_path and params.tfds_name:\n      raise ValueError('At most one of `input_path` and `tfds_name` can be '\n                       'specified, but got %s and %s.' %\n                       (params.input_path, params.tfds_name))\n\n    if (isinstance(params.input_path, cfg.base_config.Config) or\n        isinstance(params.tfds_name, cfg.base_config.Config)\n        ) and combine_fn is None:\n      raise ValueError(\n          'A combine_fn is required if `input_path` or `tfds_name` is a dict.')\n\n    self._tfds_name = params.tfds_name\n    self._tfds_data_dir = params.tfds_data_dir\n    self._matched_files = None\n    if not params.input_path:\n      # Read dataset from TFDS.\n      if not params.tfds_split:\n        raise ValueError(\n            '`tfds_name` is %s, but `tfds_split` is not specified.' %\n            params.tfds_name)\n    else:\n      self._matched_files = self.get_files(params.input_path)\n\n    self._global_batch_size = params.global_batch_size\n    self._is_training = params.is_training\n    self._drop_remainder = params.drop_remainder\n    self._shuffle_buffer_size = params.shuffle_buffer_size\n    self._cache = params.cache\n    self._cycle_length = params.cycle_length\n    self._block_length = params.block_length\n    self._deterministic = params.deterministic\n    self._sharding = params.sharding\n    self._tfds_split = params.tfds_split\n    self._tfds_as_supervised = params.tfds_as_supervised\n    self._tfds_skip_decoding_feature = params.tfds_skip_decoding_feature\n","sourceCodeStart":265,"sourceCodeEnd":301,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/core/input_reader.py#L265-L301","documentation":"Error \"`tfds_name` is %s, but `tfds_split` is not specified.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/core/input_reader.py:283 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"}