tensorflow/models · error · ValueError
Unsupported model/id type {backbone_cfg.model_id}.
Error message
Unsupported model/id type {backbone_cfg.model_id}. What it means
Error "Unsupported model/id type {backbone_cfg.model_id}." thrown in tensorflow/models.
Source
Thrown at official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu.py:101
freeze_large_filters(model, backbone_cfg.freeze_large_filters)
return model
elif backbone_cfg.model_id in MOBILENET_EDGETPU_CONFIGS:
model = MobilenetEdgeTPU.from_name(
model_name=backbone_cfg.model_id,
overrides={
'batch_norm': 'tpu',
'rescale_input': False,
'resolution': input_specs.shape[1:3],
'input_channels': input_specs.shape[3],
'backbone_only': True,
'dtype': 'bfloat16'
},
model_weights_path=backbone_cfg.pretrained_checkpoint_path)
if backbone_cfg.freeze_large_filters:
freeze_large_filters(model, backbone_cfg.freeze_large_filters)
return model
else:
raise ValueError(f'Unsupported model/id type {backbone_cfg.model_id}.')
View on GitHub (pinned to e006f5f0d5)
When it happens
Trigger: Thrown at official/projects/edgetpu/vision/modeling/backbones/mobilenet_edgetpu.py:101 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/9b092e5d2bbc7031.
Report an issue: GitHub.