class_docstr: Data ingestion implementation to use when running locally.
docstr: Starts ingesting data based on the ingester flag configuration.
docstr_tok: ["Starts","ingesting","data","based","on","the","ingester","flag","configuration","."]
code: def start(self):
      """Starts ingesting data based on the ingester flag configuration."""
  
      def _reload():
          while True:
              start = time.time()
              logger.info("TensorBoard reload process beginning")
              for path, name in self._path_to_run.items():
                  self._multiplexer.AddRunsFromDirectory(path, name)
              logger.info(
                  "TensorBoard reload process: Reload the whole Multiplexer"
              )
              self._multiplexer.Reload()
              duration = time.time() - start
              logger.info(
                  "TensorBoard done reloading. Load took %0.3f secs",
                  duration,
              )
              if self._reload_interval == 0:
                  # Only load the multiplexer once. Do not continuously reload.
                  break
              time.sleep(self._reload_interval)
  
      if self._reload_task == "process":
          logger.info("Launching reload in a child process")
          import multiprocessing
  
          process = multiprocessing.Process(
              target=_reload, name="Reloader"
          )
          # Best-effort cleanup; on exit, the main TB parent process will attempt to
          # kill all its daemonic children.
          process.daemon = True
          process.start()
      elif self._reload_task in ("thread", "auto"):
          logger.info("Launching reload in a daemon thread")
          thread = threading.Thread(target=_reload, name="Reloader")
          # Make this a daemon thread, which won't block TB from exiting.
          thread.daemon = True
          thread.start()
      elif self._reload_task == "blocking":
          if self._reload_interval != 0:
              raise ValueError(
                  "blocking reload only allowed with load_interval=0"
              )
          _reload()
      else:
          raise ValueError(
              "unrecognized reload_task: %s" % self._reload_task
          )
  
imports: import os
  import re
  import threading
  import time
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.backend.event_processing import tag_types
  from tensorboard.compat import tf
  from tensorboard.data import ingester
  from tensorboard.plugins.audio import metadata
  from tensorboard.plugins.histogram import metadata
  from tensorboard.plugins.image import metadata
  from tensorboard.plugins.pr_curve import metadata
  from tensorboard.plugins.scalar import metadata
  from tensorboard.util import tb_logging
label_desc: Use image node_id 4 for calling the LocalDataIngester obj's underlying member method code with example usage: obj.start() without return types