tensorflow/models · error · ValueError
TFDS Segmentation {tfds_name} is not supported
Error message
TFDS Segmentation {tfds_name} is not supported What it means
Error "TFDS Segmentation {tfds_name} is not supported" thrown in tensorflow/models.
Source
Thrown at official/vision/dataloaders/tfds_factory.py:70
else:
raise ValueError(f'TFDS Detection {tfds_name} is not supported')
return decoder
def get_segmentation_decoder(tfds_name: str) -> base_decoder.Decoder:
"""Gets segmentation decoder.
Args:
tfds_name: `str`, name of the tfds segmentation decoder.
Returns:
`base_decoder.Decoder` instance.
Raises:
ValueError if the tfds_name doesn't exist in the available decoders.
"""
if tfds_name in tfds_segmentation_decoders.TFDS_ID_TO_DECODER_MAP:
decoder = tfds_segmentation_decoders.TFDS_ID_TO_DECODER_MAP[tfds_name]()
else:
raise ValueError(f'TFDS Segmentation {tfds_name} is not supported')
return decoder
View on GitHub (pinned to e006f5f0d5)
When it happens
Trigger: Thrown at official/vision/dataloaders/tfds_factory.py:70 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tensorflow/models@e006f5f0d5 (2026-08-24).
Data as JSON: /api/errors/58bad40fe7b653e0.
Report an issue: GitHub.