class_docstr: AimCallback callback function.
  
  Args:
      repo (:obj:`str`, optional): Aim repository path or Repo object to which Run object is bound.
          If skipped, default Repo is used.
      experiment_name (:obj:`str`, optional): Sets Run's `experiment` property. 'default' if not specified.
          Can be used later to query runs/sequences.
      system_tracking_interval (:obj:`int`, optional): Sets the tracking interval in seconds for system usage
          metrics (CPU, Memory, etc.). Set to `None` to disable system metrics tracking.
      log_system_params (:obj:`bool`, optional): Enable/Disable logging of system params such as installed packages,
          git info, environment variables, etc.
class_docstr_tok: ["AimCallback","callback","function",".","Args",":","repo","(",":","obj",":","`","str","`",",","optional",")",":","Aim","repository","path","or","Repo","object","to","which","Run","object","is","bound",".","If","skipped",",","default","Repo","is","used",".","experiment_name","(",":","obj",":","`","str","`",",","optional",")",":","Sets","Run","'s","`","experiment","`","property",".","'default","'","if","not","specified",".","Can","be","used","later","to","query","runs\/sequences",".","system_tracking_interval","(",":","obj",":","`","int","`",",","optional",")",":","Sets","the","tracking","interval","in","seconds","for","system","usage","metrics","(","CPU",",","Memory",",","etc.",")",".","Set","to","`","None","`","to","disable","system","metrics","tracking",".","log_system_params","(",":","obj",":","`","bool","`",",","optional",")",":","Enable\/Disable","logging","of","system","params","such","as","installed","packages",",","git","info",",","environment","variables",",","etc","."]
code: def setup(self, args=None):
      if not self._run:
          if self._run_hash:
              self._run = Run(
                  self._run_hash,
                  repo=self.repo,
                  system_tracking_interval=self.system_tracking_interval,
                  log_system_params=self.log_system_params,
                  capture_terminal_logs=self.capture_terminal_logs,
              )
          else:
              self._run = Run(
                  repo=self.repo,
                  experiment=self.experiment_name,
                  system_tracking_interval=self.system_tracking_interval,
                  log_system_params=self.log_system_params,
                  capture_terminal_logs=self.capture_terminal_logs,
              )
              self._run_hash = self._run.hash
  
      # Log config parameters
      if args:
          for key in args:
              self._run.set(key, args[key], strict=False)
  
file_path: aim/aim/sdk/adapters/paddle.py
imports: from paddle.hapi.callbacks import Callback
  from typing import Optional
  from aim.sdk.run import Run
  from aim.ext.resource.configs import DEFAULT_SYSTEM_TRACKING_INT
label_desc: Use image node_id 8 for calling the AimCallback obj's underlying member method code with example usage: obj.setup(args) without return types