{"record":{"id":"e8ffd6c326028528","repo":"tensorflow/models","slug":"field-s-does-not-exist","errorCode":null,"errorMessage":"field %s does not exist","messagePattern":"field (.+?) does not exist","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"official/projects/centernet/ops/box_list.py","lineNumber":154,"sourceCode":"\n  def get_field(self, field):\n    \"\"\"Accesses a box collection and associated fields.\n\n    This function returns specified field with object; if no field is specified,\n    it returns the box coordinates.\n\n    Args:\n      field: this optional string parameter can be used to specify\n        a related field to be accessed.\n\n    Returns:\n      a tensor representing the box collection or an associated field.\n\n    Raises:\n      ValueError: if invalid field\n    \"\"\"\n    if not self.has_field(field):\n      raise ValueError('field ' + str(field) + ' does not exist')\n    return self.data[field]\n\n  def set_field(self, field, value):\n    \"\"\"Sets the value of a field.\n\n    Updates the field of a box_list with a given value.\n\n    Args:\n      field: (string) name of the field to set value.\n      value: the value to assign to the field.\n\n    Raises:\n      ValueError: if the box_list does not have specified field.\n    \"\"\"\n    if not self.has_field(field):\n      raise ValueError('field %s does not exist' % field)\n    self.data[field] = value\n","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/tensorflow/models/blob/e006f5f0d534913e49c1f1dae87364039fa607e2/official/projects/centernet/ops/box_list.py#L136-L172","documentation":"Error \"field %s does not exist\" thrown in tensorflow/models.","triggerScenarios":"Thrown at official/projects/centernet/ops/box_list.py:154 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"}