class_docstr: Generic logger callback for dumping experiment data. Can be extended for more utility.
class_docstr_tok: ["Generic","logger","callback","for","dumping","experiment","data",".","Can","be","extended","for","more","utility","."]
code: def __init__(
      self,
      directory,
      filename="Experiment_Logger.csv",
      save_prefix="Model_",
      separator=",",
      append=True,
  ):
      self.directory = directory
      self.filename = filename
      self.file = os.path.join(self.directory, self.filename)
      self.save_prefix = save_prefix
      self.sep = separator
      self.append = append
      self.writer = None
      self.keys = None
      self.append_header = True
      super(ExperimentLogger, self).__init__()
  
file_path: pywick/pywick/callbacks/ExperimentLogger.py
imports: import csv
  import os
  import shutil
  from collections import OrderedDict
  from tempfile import NamedTemporaryFile
  from .None import Callback
label_desc: Use image node_id 1 to create a new ExperimentLogger object from inherited base classes: Callback with example: obj = ExperimentLogger(directory, filename, save_prefix, separator, append)