tensorflow/models · error · ValueError

Unsupported learning rate type: {}.

Error message

Unsupported learning rate type: {}.

What it means

Error "Unsupported learning rate type: {}." thrown in tensorflow/models.

Source

Thrown at official/legacy/detection/modeling/learning_rates.py:98:98

  if params.type == 'step':
    return StepLearningRateWithLinearWarmup(total_steps, params)
  elif params.type == 'cosine':
    return CosineLearningRateWithLinearWarmup(total_steps, params)
  else:
    raise ValueError('Unsupported learning rate type: {}.'.format(params.type))

View on GitHub (pinned to e006f5f0d5)

When it happens

Trigger: Thrown at official/legaacy/detection/modeling/learning_rates.py:98 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/c1319e4b0466ee49. Report an issue: GitHub.