code: def __init__(self, comet_config={"disabled": True}):
      global comet_installed
      self._logging = None
      self._comet_config = comet_config
      if comet_config["disabled"] is True:
          self._logging = False
      elif (
          comet_config["disabled"] is False and comet_installed is False
      ):
          raise Exception(
              "Comet and/or Python Image Library not installed. Run 'pip install comet-ml pillow'"
          )
  
imports: import logging
  import json
  import functools
  from io import BytesIO
  from google.protobuf.json_format import MessageToJson
  import numpy
  from .summary import _clean_tag
label_desc: Use image node_id 1 to create a new CometLogger object  with example: obj = CometLogger(comet_config)