class_docstr: Generate data from the COCO dataset.
  
  See https://github.com/cocodataset/cocoapi/tree/master/PythonAPI for more information.
class_docstr_tok: ["Generate","data","from","the","COCO","dataset",".","See","https",":","\/\/github.com\/cocodataset\/cocoapi\/tree\/master\/PythonAPI","for","more","information","."]
docstr: Map COCO label to the label as used in the network.
  COCO has some gaps in the order of labels. The highest label is 90, but there are 80 classes.
docstr_tok: ["Map","COCO","label","to","the","label","as","used","in","the","network",".","COCO","has","some","gaps","in","the","order","of","labels",".","The","highest","label","is","90",",","but","there","are","80","classes","."]
code: def coco_label_to_label(self, coco_label):
      """Map COCO label to the label as used in the network.
      COCO has some gaps in the order of labels. The highest label is 90, but there are 80 classes.
      """
      return self.coco_labels_inverse[coco_label]
  
imports: from ..preprocessing.generator import Generator
  from ..utils.image import read_image_bgr
  import os
  import numpy
  from pycocotools.coco import COCO
label_desc: Use image node_id 9 for calling the CocoGenerator obj's underlying member method code with example usage: obj.coco_label_to_label(coco_label) and returns: self