class_docstr: Performs COCO evaluation on each epoch.
      
class_docstr_tok: ["Performs","COCO","evaluation","on","each","epoch","."]
docstr: CocoEval callback intializer.
  
  Args
      generator   : The generator used for creating validation data.
      tensorboard : If given, the results will be written to tensorboard.
      threshold   : The score threshold to use.
docstr_tok: ["CocoEval","callback","intializer",".","Args","generator",":","The","generator","used","for","creating","validation","data",".","tensorboard",":","If","given",",","the","results","will","be","written","to","tensorboard",".","threshold",":","The","score","threshold","to","use","."]
code: def __init__(self, generator, tensorboard=None, threshold=0.05):
      """CocoEval callback intializer.
  
      Args
          generator   : The generator used for creating validation data.
          tensorboard : If given, the results will be written to tensorboard.
          threshold   : The score threshold to use.
      """
      self.generator = generator
      self.threshold = threshold
      self.tensorboard = tensorboard
  
      super(CocoEval, self).__init__()
  
imports: from tensorflow import keras
  from ..utils.coco_eval import evaluate_coco
label_desc: Use image node_id 1 to create a new CocoEval object from inherited base classes: keras.callbacks with example: obj = CocoEval(generator, tensorboard, threshold)