{"record":{"id":"1cd425f93c01fdc0","repo":"tensorflow/models","slug":"unsupported-activation-1cd425","errorCode":null,"errorMessage":"Unsupported activation `{}`.","messagePattern":"Unsupported activation `(.+?)`\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"official/legacy/detection/modeling/architecture/heads.py:72","lineNumber":72,"sourceCode":"    if activation == 'relu':\n      self._activation_op = tf.nn.relu\n    elif activation == 'swish':\n      self._activation_op = tf.nn.swish\n    else:\n      raise ValueError('Unsupported activation `{}`.'.format(activation))","sourceCodeStart":null,"sourceCodeEnd":null,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/legaacy/detection/modeling/architecture/heads.py#L72","documentation":"Error \"Unsupported activation `{}`.\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/legaacy/detection/modeling/architecture/heads.py:72 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"}